Optional
componentsOptional
deprecatedOptional
responsesspecify all responses of the operation . Merged by levels
Optional
serverThis configuration is under your responsibility. If assigned, ensure that the URL correctly points to your Moleculer-web API. This module will not modify the configuration (will not add the Moleculer-web root path). As such, it can accommodate any reverse proxy configuration.
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