Class CoreExtension
java.lang.Object
software.amazon.smithy.openapi.fromsmithy.CoreExtension
- All Implemented Interfaces:
Smithy2OpenApiExtension
Registers the core Smithy2OpenApi functionality.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRegisters JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.Registers OpenAPI mappers, classes used to modify and extend the process of converting a Smithy model to OpenAPI.List<OpenApiProtocol<? extends Trait>>
Registers additional protocols that handle serialization and deserialization.List<SecuritySchemeConverter<? extends Trait>>
Registers additional security scheme converters.
-
Constructor Details
-
CoreExtension
public CoreExtension()
-
-
Method Details
-
getSecuritySchemeConverters
Description copied from interface:Smithy2OpenApiExtension
Registers additional security scheme converters.- Specified by:
getSecuritySchemeConverters
in interfaceSmithy2OpenApiExtension
- Returns:
- Returns the converters to register.
-
getProtocols
Description copied from interface:Smithy2OpenApiExtension
Registers additional protocols that handle serialization and deserialization.- Specified by:
getProtocols
in interfaceSmithy2OpenApiExtension
- Returns:
- Returns the protocols to register.
-
getOpenApiMappers
Description copied from interface:Smithy2OpenApiExtension
Registers OpenAPI mappers, classes used to modify and extend the process of converting a Smithy model to OpenAPI.- Specified by:
getOpenApiMappers
in interfaceSmithy2OpenApiExtension
- Returns:
- Returns the mappers to register.
-
getJsonSchemaMappers
Description copied from interface:Smithy2OpenApiExtension
Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.- Specified by:
getJsonSchemaMappers
in interfaceSmithy2OpenApiExtension
- Returns:
- Returns the mappers to register.
-