8000 Moved routing examples · python-microservices/pyms@6dec1a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6dec1a5

Browse files
committed
Moved routing examples
1 parent b9b3718 commit 6dec1a5

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/routing.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ If you want to know more about configure swagger service, see [Service section](
1717
1818
Now, you can create a `swagger.yaml` file with [OpenAPI Specification](https://swagger.io/specification/).
1919

20+
# Examples of routing
21+
22+
You can see how structure a project or OpenAPI Specification in
23+
[PyMS examples](https://github.com/python-microservices/pyms/tree/master/examples/microservice_swagger) or in
24+
[Microservice Scaffold](https://github.com/python-microservices/microservices-scaffold)
25+
2026
## Routing to files
2127

2228
This section is equal from [Zalando Connexion](https://github.com/zalando/connexion#automatic-routing), because PyMS use
@@ -117,10 +123,4 @@ def foo_get(message):
117123

118124
In this example, Connexion automatically recognizes that your view
119125
function expects an argument named ``message`` and assigns the value
120-
of the endpoint parameter ``message`` to your view function.
121-
122-
# Examples of routing
123-
124-
You can see how structure a project or OpenAPI Specification in
125-
[PyMS examples](https://github.com/python-microservices/pyms/tree/master/examples/microservice_swagger) or in
126-
[Microservice Scaffold](https://github.com/python-microservices/microservices-scaffold)
126+
of the endpoint parameter ``message`` to your view function.

0 commit comments

Comments
 (0)
0