The goal of this repository is to run multiple Swagger files on a single endpoint.
Swagger API Documentation & Design Tools for Teams
To run this project you will need Docker and docker-compose. Also, this project is meant to be run under a LINUX environment. Bash is also a requirement.
You will find a Nginx embedded inside the official image of Swagger in the Docker environment.
Run the following command to setup up the project. In here nothing is meant to be modified.
make build
make run
You need to modify the file config_swagger.sh
with your desired preferences and endpoints.
SERVER_URL
: Add here your root URL for the server that will be serving the APIs.
SWAGGER_NUMBER
: The number of swagger files to be added.
SWAGGER_N_NAME
: Title for the particular file.
SWAGGER_N_FILE
: Filename of the Swagger.
SWAGGER_N_ENDPOINT
: Endpoint in which the API will serve the information.
Run the following command to run the configuration of the endpoints for the project.
make configure