public class CheckForGreedyLabels extends java.lang.Object implements OpenApiMapper
Some vendors like API Gateway support greedy labels in the form of "{foo+}", while others do not.
Constructor and Description |
---|
CheckForGreedyLabels() |
Modifier and Type | Method and Description |
---|---|
OpenApi |
after(Context<? extends Trait> context,
OpenApi openApi)
Updates an OpenApi object after it is built.
|
byte |
getOrder()
Gets the sort order of the plugin from -128 to 127.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
before, compose, postProcessOperation, updateDefaultSettings, updateNode, updateOperation, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecurityScheme
public byte getOrder()
OpenApiMapper
Plugins 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 OpenApiMapper
public OpenApi after(Context<? extends Trait> context, OpenApi openApi)
OpenApiMapper
after
in interface OpenApiMapper
context
- Conversion context.openApi
- OpenAPI object to modify.