Class CoreExtension
- java.lang.Object
- 
- software.amazon.smithy.openapi.fromsmithy.CoreExtension
 
- 
- All Implemented Interfaces:
- Smithy2OpenApiExtension
 
 public final class CoreExtension extends java.lang.Object implements Smithy2OpenApiExtension Registers the core Smithy2OpenApi functionality.
- 
- 
Constructor SummaryConstructors Constructor Description CoreExtension()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<JsonSchemaMapper>getJsonSchemaMappers()Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.java.util.List<OpenApiMapper>getOpenApiMappers()Registers OpenAPI mappers, classes used to modify and extend the process of converting a Smithy model to OpenAPI.java.util.List<OpenApiProtocol<? extends Trait>>getProtocols()Registers additional protocols that handle serialization and deserialization.java.util.List<SecuritySchemeConverter<? extends Trait>>getSecuritySchemeConverters()Registers additional security scheme converters.
 
- 
- 
- 
Method Detail- 
getSecuritySchemeConverterspublic java.util.List<SecuritySchemeConverter<? extends Trait>> getSecuritySchemeConverters() Description copied from interface:Smithy2OpenApiExtensionRegisters additional security scheme converters.- Specified by:
- getSecuritySchemeConvertersin interface- Smithy2OpenApiExtension
- Returns:
- Returns the converters to register.
 
 - 
getProtocolspublic java.util.List<OpenApiProtocol<? extends Trait>> getProtocols() Description copied from interface:Smithy2OpenApiExtensionRegisters additional protocols that handle serialization and deserialization.- Specified by:
- getProtocolsin interface- Smithy2OpenApiExtension
- Returns:
- Returns the protocols to register.
 
 - 
getOpenApiMapperspublic java.util.List<OpenApiMapper> getOpenApiMappers() Description copied from interface:Smithy2OpenApiExtensionRegisters OpenAPI mappers, classes used to modify and extend the process of converting a Smithy model to OpenAPI.- Specified by:
- getOpenApiMappersin interface- Smithy2OpenApiExtension
- Returns:
- Returns the mappers to register.
 
 - 
getJsonSchemaMapperspublic java.util.List<JsonSchemaMapper> getJsonSchemaMappers() Description copied from interface:Smithy2OpenApiExtensionRegisters JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.- Specified by:
- getJsonSchemaMappersin interface- Smithy2OpenApiExtension
- Returns:
- Returns the mappers to register.
 
 
- 
 
-