public class CheckForPrefixHeaders extends java.lang.Object implements OpenApiMapper
Custom values for this setting need to be handled in a
OpenApiProtocol
.
Constructor and Description |
---|
CheckForPrefixHeaders() |
Modifier and Type | Method and Description |
---|---|
void |
before(Context<? extends Trait> context,
OpenApi.Builder builder)
Updates an OpenApi.Builder before converting the model.
|
byte |
getOrder()
Gets the sort order of the plugin from -128 to 127.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
after, 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 void before(Context<? extends Trait> context, OpenApi.Builder builder)
OpenApiMapper
before
in interface OpenApiMapper
context
- Conversion context.builder
- OpenAPI builder to modify.