Skip to content

πŸ“– Generate beautiful html files with a swagger template using YAML/YML files. πŸš€πŸš€

License

Notifications You must be signed in to change notification settings

juliandecoss/YmlToSwaggerHtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SWAGGER GENERATOR HTML FILES

This Repo creates beautiful html swagger files, using YAML files and validates them.

Getting started

Make sure you have installed

Installation

To install the libraries, run in your terminal.

make install

This will setup your environment to add the 2 libraries this repo requires.

Adding your YAML docs

In order to validate your files add your docs to the directory docs/openapi.

Validating your yaml files

To validate your files first add them in the directory openapi, then run in your terminal:

make swagger-validation

Creating your html beautiful swagger static docs

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

Credits to

This repo was built using the script shown below:

About

πŸ“– Generate beautiful html files with a swagger template using YAML/YML files. πŸš€πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published