oas-kit
oas-kit copied to clipboard
[swagger2openapi][components] Add a prefix to generated components
Detailed Description
During the conversion of a swagger
file to oas
using swagger2openapi
with Node.JS, the algorithm creates the components
object.
Is there the possibility to add a prefix to components?
Now the result is:
{
"components": {
"requestBodies": {
"Body": ...
"Body2": ...
}
}
}
Is there the possibility to add a prefix to Body
, Body2
and other components?
Thanks.
Hi, do you have some news about this request? @MikeRalphson I can open a PR too to support this functionality if it's not supported and if you agree.
If you're still interested, can you tell me why you need this feature?