EDDYMENS

Last updated 2023-03-16 00:21:49

Mark An Open API Spec Endpoint As Deprecated

Place the key-value pair deprecated: true anywhere within the endpoint indented block to mark it as deprecated.

Here is an example

01: paths: 02: /pet: 03: put: 04: tags: 05: - pet 06: summary: Update an existing pet 07: description: Update an existing pet by Id 08: operationId: updatePet 09: deprecated: true # <---- Deprecation key-value entry

Here is another article you might like 😊 "Diary Of Insights: A Documentation Of My Discoveries"