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/configuration.rst
+12-1Lines changed: 12 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
Configuration
2
2
=============
3
3
4
-
Project configuration is loaded using py-ms package based on yml or json file.
4
+
Project configuration is loaded using `PyMS <https://github.com/python-microservices/pyms>`_ package based on yml or json file.
5
5
Some example files are config.yml, config-docker.yml and tests/config-tests.yml or see `PyMS configuration <https://py-ms.readthedocs.io/en/latest/configuration/>`_
6
6
7
7
Documentation
@@ -12,5 +12,16 @@ The Microservice create a URL to inspect the Swagger documentation of the api in
12
12
13
13
localhost:5000/[APPLICATION_ROOT]/ui/
14
14
15
+
This URL is setted in your `config.yml`:
16
+
17
+
.. code-block:: yaml
18
+
19
+
ms:
20
+
DEBUG: false
21
+
TESTING: false
22
+
APP_NAME: Template
23
+
APPLICATION_ROOT : /template # <!---
24
+
25
+
15
26
Our API Rest work with `connexion <http://connexion.readthedocs.io>`_. You can see connexion docs or the official
16
27
`Swagger documentation <https://swagger.io/specification/>`_ to add the syntax to your APIS and create your Swagger docs
0 commit comments