跳到主要内容

1 篇博文 含有标签「OpenAPI」

Blog posts related to OpenAPI

查看所有标签

How to Deploy an OpenAPI Documentation on Netlify

· 阅读需 4 分钟

Scenario

  1. There is an API definition file open-api-swagger.json in a private repository production/api and I have no write access to it.
  2. 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.json specification file into an HTML file index.html using redoc-cli build
    • deploy it on Netlify or other services