Optional
componentsOptional
deprecatedOptional
responsesspecify all responses of the operation . Merged by levels
Optional
tagsAllow to define tags of the https://spec.openapis.org/oas/v3.1.0#operation-object|Operation
tags are unique in all the openApi, and identified by his name . Defining two times the same tag will merge them
// setting tags to all children
{
tags: ['tags1', 'tags2']
}
// remove parents tags, and set tags to children
{
tags: [null, 'tags3', 'tags4']
}
// add tag with description, and use it on children
{
tags: [
{
name: "tags1";
description: "this is the first example tag";
externalDocs: "https://doc.example.com/tags/tags1";
},
'tags1'
]
}
set this endpoint as deprecated