mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-06 04:19:26 +00:00
Fix missing colons in request docs; rename /path to /foo for consistency with other examples (#1818)
This commit is contained in:
@@ -143,7 +143,7 @@ The body will also be passed to your function.
|
||||
:caption: **openapi.yaml**
|
||||
|
||||
paths:
|
||||
/path
|
||||
/foo:
|
||||
post:
|
||||
operationId: api.foo_get
|
||||
requestBody:
|
||||
@@ -174,7 +174,7 @@ The body will also be passed to your function.
|
||||
:caption: **swagger.yaml**
|
||||
|
||||
paths:
|
||||
/path
|
||||
/foo:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -201,7 +201,7 @@ The body will also be passed to your function.
|
||||
:caption: **swagger.yaml**
|
||||
|
||||
paths:
|
||||
/path
|
||||
/foo:
|
||||
post:
|
||||
operationId: api.foo_get
|
||||
consumes:
|
||||
@@ -238,7 +238,7 @@ Connexion extracts the files from the body and passes them into your view functi
|
||||
:caption: **openapi.yaml**
|
||||
|
||||
paths:
|
||||
/path
|
||||
/foo:
|
||||
post:
|
||||
operationId: api.foo_get
|
||||
requestBody:
|
||||
@@ -261,7 +261,7 @@ Connexion extracts the files from the body and passes them into your view functi
|
||||
:caption: **swagger.yaml**
|
||||
|
||||
paths:
|
||||
/path
|
||||
/foo:
|
||||
post:
|
||||
consumes:
|
||||
- application/json
|
||||
@@ -614,4 +614,4 @@ request.
|
||||
.. _Frameworks: https://github.com/spec-first/connexion/tree/main/examples/frameworks
|
||||
.. _OpenAPI 3 specification: https://swagger.io/docs/specification/serialization
|
||||
.. _Swagger 2 specification: https://swagger.io/docs/specification/2-0/describing-parameters/#array
|
||||
.. _issue: https://github.com/spec-first/connexion/issues
|
||||
.. _issue: https://github.com/spec-first/connexion/issues
|
||||
|
||||
Reference in New Issue
Block a user