Class SpecificationExtensionsMapper
- java.lang.Object
- 
- software.amazon.smithy.openapi.fromsmithy.mappers.SpecificationExtensionsMapper
 
- 
- All Implemented Interfaces:
- OpenApiMapper
 
 public class SpecificationExtensionsMapper extends java.lang.Object implements OpenApiMapper Maps trait shapes tagged withSpecificationExtensionTraitinto OpenAPI specification extensions.
- 
- 
Constructor SummaryConstructors Constructor Description SpecificationExtensionsMapper()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenApiafter(Context<? extends Trait> context, OpenApi openapi)Attach Specification Extensions to Service.OperationObjectupdateOperation(Context<? extends Trait> context, OperationShape shape, OperationObject operation, java.lang.String httpMethodName, java.lang.String path)Attach Specification Extensions to Operation.- 
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, getOrder, postProcessOperation, updateDefaultSettings, updateNode, updateParameter, updatePathItem, updateRequestBody, updateResponse, updateSecurity, updateSecurityScheme
 
- 
 
- 
- 
- 
Method Detail- 
afterpublic OpenApi after(Context<? extends Trait> context, OpenApi openapi) Attach Specification Extensions to Service.- Specified by:
- afterin interface- OpenApiMapper
- Parameters:
- context- Conversion context.
- openapi- OpenAPI object to modify.
- Returns:
- Returns the updated OpenApi object.
 
 - 
updateOperationpublic OperationObject updateOperation(Context<? extends Trait> context, OperationShape shape, OperationObject operation, java.lang.String httpMethodName, java.lang.String path) Attach Specification Extensions to Operation.- Specified by:
- updateOperationin interface- OpenApiMapper
- Parameters:
- context- Conversion context.
- shape- Operation being converted.
- operation- OperationObject being built.
- httpMethodName- The HTTP method of the operation.
- path- The HTTP URI of the operation.
- Returns:
- Returns the updated operation object.
 
 
- 
 
-