Get the OpenAPI definition for the specified API version in YAML format

GET {{baseUrl}}/apis/:owner/:api/:version/swagger.yaml?resolved=false&flatten=false

Request Params

KeyDatatypeRequiredDescription
resolvedbooleanSet to true to get the resolved version of the API definition. The content of all external $refs will be included in the resulting file.
flattenbooleanUsed 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\ninfo:\n  title: Sample API\n  version: 1.0.0\npaths: {}\n"