public final class RemoveEmptyComponents extends java.lang.Object implements OpenApiMapper
| Constructor and Description |
|---|
RemoveEmptyComponents() |
| Modifier and Type | Method and Description |
|---|---|
byte |
getOrder()
Gets the sort order of the plugin from -128 to 127.
|
ObjectNode |
updateNode(Context<? extends Trait> context,
OpenApi openapi,
ObjectNode node)
Modifies the Node/JSON representation of an OpenAPI object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafter, before, compose, postProcessOperation, updateDefaultSettings, updateOperation, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecuritySchemepublic byte getOrder()
OpenApiMapperPlugins are applied according to this sort order. Lower values are executed before higher values (for example, -128 comes before 0, comes before 127). Plugins default to 0, which is the middle point between the minimum and maximum order values.
getOrder in interface OpenApiMapperpublic ObjectNode updateNode(Context<? extends Trait> context, OpenApi openapi, ObjectNode node)
OpenApiMapperupdateNode in interface OpenApiMappercontext - Conversion context.openapi - OpenAPI object being converted to a node.node - OpenAPI object node.