Get the OpenAPI definition of the specified API version
GET {{baseUrl}}/apis/:owner/:api/:version?resolved=false&flatten=false
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
resolved | boolean | Set to true to get the resolved version of the API definition. The content of all external $refs will be included in the resulting file. | |
flatten | boolean | Used only if resolved =true . Flattening replaces all complex inline schemas with named entries in the components/schemas or definitions section. |
RESPONSES
status: OK
{"openapi":"3.0.0","info":{"title":"Sample API","version":"1.0.0"},"paths":{}}