Skip to content

Configuration

Project configuration is loaded using PyMS package based on yml or json file. Some example files are config.yml, config-docker.yml and tests/config-tests.yml or see PyMS configuration

Documentation

The Microservice create a URL to inspect the Swagger documentation of the api in:

localhost:5000/[APPLICATION_ROOT]/ui/

This URL is set in your config.yml:

pyms:
  config:
    DEBUG: false
    TESTING: false
    APP_NAME: Template
    APPLICATION_ROOT : "" <---

Our API Rest work with connexion. You can see connexion docs or the official Swagger documentation to add the syntax to your APIS and create your Swagger docs