This Repo creates beautiful html swagger files, using YAML files and validates them.
Make sure you have installed
To install the libraries, run in your terminal.
make install
This will setup your environment to add the 2 libraries this repo requires.
In order to validate your files add your docs to the directory docs/openapi.
To validate your files first add them in the directory openapi, then run in your terminal:
make swagger-validation
In order to connect your files between each one, change the file template in scripts/templates/swagger_template, you will find in the line 36 that there is a "select" html element, add all your files there, as options "name_of_your_file" its not necessary to add the sufix html.
Once you finish this step just run in your terminal
make swagger-static
This repo was built using the script shown below: