Class OpenApiJsonSubstitutions
java.lang.Object
software.amazon.smithy.openapi.fromsmithy.mappers.OpenApiJsonSubstitutions
- All Implemented Interfaces:
- OpenApiMapper
Substitutes JSON string values using the mapping defined in
 
openapi.substitutions.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbytegetOrder()Gets the sort order of the plugin from -128 to 127.updateNode(Context<? extends Trait> context, OpenApi openapi, ObjectNode node) Modifies the Node/JSON representation of an OpenAPI object.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, before, postProcessOperation, updateDefaultSettings, updateOperation, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecurityScheme
- 
Constructor Details- 
OpenApiJsonSubstitutionspublic OpenApiJsonSubstitutions()
 
- 
- 
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.
 
- 
updateNodeDescription copied from interface:OpenApiMapperModifies the Node/JSON representation of an OpenAPI object.- Specified by:
- updateNodein interface- OpenApiMapper
- Parameters:
- context- Conversion context.
- openapi- OpenAPI object being converted to a node.
- node- OpenAPI object node.
- Returns:
- Returns the updated ObjectNode.
 
 
-