Class CheckForPrefixHeaders
java.lang.Object
software.amazon.smithy.openapi.fromsmithy.mappers.CheckForPrefixHeaders
- All Implemented Interfaces:
- OpenApiMapper
Checks for prefix headers in the input or output of an operation,
 and handles the settings for throwing an exception or warning if
 they're found.
 
Custom values for this setting need to be handled in a
 OpenApiProtocol.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidbefore(Context<? extends Trait> context, OpenApi.Builder builder) Updates an OpenApi.Builder before converting the model.bytegetOrder()Gets the sort order of the plugin from -128 to 127.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.smithy.openapi.fromsmithy.OpenApiMapperafter, postProcessOperation, updateDefaultSettings, updateNode, updateOperation, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecurityScheme
- 
Constructor Details- 
CheckForPrefixHeaderspublic CheckForPrefixHeaders()
 
- 
- 
Method Details- 
getOrderpublic byte getOrder()Description copied from interface:OpenApiMapperGets the sort order of the plugin from -128 to 127.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. - Specified by:
- getOrderin interface- OpenApiMapper
- Returns:
- Returns the sort order, defaulting to 0.
 
- 
beforeDescription copied from interface:OpenApiMapperUpdates an OpenApi.Builder before converting the model.- Specified by:
- beforein interface- OpenApiMapper
- Parameters:
- context- Conversion context.
- builder- OpenAPI builder to modify.
 
 
-