You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/integrations/falcon.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,16 @@
1
1
# Falcon
2
2
3
-
This section describes integration with [Falcon](https://falconframework.org) web framework.
4
-
The integration supports Falcon from version 3.0 and above.
3
+
This section describes the integration with the [Falcon](https://falconframework.org) web framework.
4
+
The integration supports Falcon version 3.0 and above.
5
+
6
+
!!! warning
7
+
8
+
This integration does not support multipart form body requests.
9
+
5
10
6
11
## Middleware
7
12
8
-
The Falcon API can be integrated by `FalconOpenAPIMiddleware` middleware.
13
+
The Falcon API can be integrated using the `FalconOpenAPIMiddleware`.
9
14
10
15
```python hl_lines="1 3 7"
11
16
from openapi_core.contrib.falcon.middlewares import FalconOpenAPIMiddleware
@@ -34,7 +39,7 @@ app = falcon.App(
34
39
)
35
40
```
36
41
37
-
You can skip response validation process: by setting `response_cls` to `None`
42
+
You can skip the response validation process by setting `response_cls` to `None`.
38
43
39
44
```python hl_lines="5"
40
45
from openapi_core.contrib.falcon.middlewares import FalconOpenAPIMiddleware
@@ -50,20 +55,20 @@ app = falcon.App(
50
55
)
51
56
```
52
57
53
-
After that you will have access to validation result object with all validated request data from Falcon view through request context.
58
+
After this, you will have access to the validation result object, which contains all validated request data, from the Falcon view through the request context.
54
59
55
60
```python
56
61
classThingsResource:
57
62
defon_get(self, req, resp):
58
-
#get parameters object with path, query, cookies and headers parameters
63
+
#Get the parameters object with path, query, cookies, and headers parameters
0 commit comments