Get the OpenAPI definition of the specified API version

GET {{baseUrl}}/apis/:owner/:api/:version?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","info":{"title":"Sample API","version":"1.0.0"},"paths":{}}