How to Deploy an OpenAPI Documentation on Netlify
· 阅读需 4 分钟
Scenario
- There is an API definition file
open-api-swagger.jsonin a private repositoryproduction/apiand I have no write access to it. - I want to deploy a preview website of the
open-api-swagger.json:- test some Redoc configuration in my repository
Oreoxmt/preview-api - build the
open-api-swagger.jsonspecification file into an HTML fileindex.htmlusingredoc-cli build - deploy it on Netlify or other services
- test some Redoc configuration in my repository
