Example of how to generate Swagger UI based on multiple YAML files. There are two schema files:
- openapi.yml => the main yaml file to define Open API
- entities.yml => file to store entities schema referenced by openapi.yml
Tools used:
Install
npm installRun
npm startThen open URL http://localhost:3100/api-docs