module:"openapi-transformers/remove-query-from-paths.js"()
Transformer to remove query component of path in paths object.
Including the query portion of a URL in path is not allowed in any current
version of OpenAPI
https://github.com/OAI/OpenAPI-Specification/issues/468#issuecomment-142393969
but some authors include it for various reasons.
Operations which would conflict with existing operations on the same path
(excluding query parameters) are left unchanged.
See QueriesToXMsPathsTransformer for another way to handle these.
Constructor
new module:"openapi-transformers/remove-query-from-paths.js"()
- Source: