Managing API operations
Learn how to mark an OpenAPI API operation as experimental, deprecated or hide it from your documentation
Marking operation as experimental, alpha, or beta
paths:
/pet:
put:
operationId: updatePet
x-stability: experimentalDeprecating an operation
paths:
/pet:
put:
operationId: updatePet
deprecated: truepaths:
/pet:
put:
operationId: updatePet
deprecated: true
x-deprecated-sunset: 2030-12-05Hiding an operation from the API reference
Hiding a response sample
Customizing the authorization prefix and token placeholder
Last updated
Was this helpful?