API Package Specification
Get the API package current specification
Changed onFetches the current specification of an API Package.
get/v3/api-packages/{packageId}/current-specification
Request
- Base URL: https://global.api.konghq.com
- URL: https://global.api.konghq.com/v3/api-packages/{packageId}/current-specification
- Auth: one of:
- HTTP bearer
- HTTP bearer
- HTTP bearer
- HTTP bearer
Response
API specification (OpenAPI or AsyncAPI)
Example response
{
"id": "7710d5c4-d902-410b-992f-18b814155b53",
"content": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.0\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}",
"type": "oas3",
"created_at": "2022-11-04T20:10:06.927Z",
"updated_at": "2022-11-04T20:10:06.927Z"
}Changes
- breaking
added to the
/response propertyoneOflist for the response status - warning
added the new
key_invalidenum value to the//////response property for the response status - warning
added the new
uniqueenum value to the//////response property for the response status
- breaking
- warning
added the new
400.00enum value to theresponse property for the response status - warning
added the new
401.00enum value to theresponse property for the response status - warning
added the new
403.00enum value to theresponse property for the response status - warning
added the new
404.00enum value to theresponse property for the response status
- warning