Class CheckForGreedyLabels
- java.lang.Object
- 
- software.amazon.smithy.openapi.fromsmithy.mappers.CheckForGreedyLabels
 
- 
- All Implemented Interfaces:
- OpenApiMapper
 
 public class CheckForGreedyLabels extends java.lang.Object implements OpenApiMapper Checks for greedy labels and fails/warns depending on configuration.Some vendors like API Gateway support greedy labels in the form of "{foo+}", while others do not. 
- 
- 
Constructor SummaryConstructors Constructor Description CheckForGreedyLabels()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenApiafter(Context<? extends Trait> context, OpenApi openApi)Updates an OpenApi object after it is built.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, wait
 - 
Methods inherited from interface software.amazon.smithy.openapi.fromsmithy.OpenApiMapperbefore, postProcessOperation, updateDefaultSettings, updateNode, updateOperation, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecurityScheme
 
- 
 
- 
- 
- 
Method Detail- 
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.
 
 - 
afterpublic OpenApi after(Context<? extends Trait> context, OpenApi openApi) Description copied from interface:OpenApiMapperUpdates an OpenApi object after it is built.- Specified by:
- afterin interface- OpenApiMapper
- Parameters:
- context- Conversion context.
- openApi- OpenAPI object to modify.
- Returns:
- Returns the updated OpenApi object.
 
 
- 
 
-