Search code examples
gitlabswaggeropenapi

GitLab - OpenAPI yaml file is too big


We have a big OpenAPI file, and how can I view it online?

enter image description here

I hope to view that like below:

enter image description here

ref: https://docs.gitlab.com/ee/api/openapi/openapi_interactive.html


Solution

  • From GitLab documentation on its OpenAPI viewer (emphasis mine):

    The filename must include openapi or swagger and the extension must be yaml, yml, or json.

    Your file name framework.yml does not match the expected pattern.