Interface Smithy2OpenApiExtension
- All Known Implementing Classes:
ApiGatewayExtension
,CoreExtension
public interface Smithy2OpenApiExtension
An extension mechanism used to influence how Smithy models are converted
to OpenAPI models.
Implementations of this interface are discovered through Java SPI.
-
Method Summary
Modifier and TypeMethodDescriptiondefault List<JsonSchemaMapper>
Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.default List<OpenApiMapper>
Registers OpenAPI mappers, classes used to modify and extend the process of converting a Smithy model to OpenAPI.default List<OpenApiProtocol<? extends Trait>>
Registers additional protocols that handle serialization and deserialization.default List<SecuritySchemeConverter<? extends Trait>>
Registers additional security scheme converters.
-
Method Details
-
getSecuritySchemeConverters
Registers additional security scheme converters.- Returns:
- Returns the converters to register.
-
getProtocols
Registers additional protocols that handle serialization and deserialization.- Returns:
- Returns the protocols to register.
-
getOpenApiMappers
Registers OpenAPI mappers, classes used to modify and extend the process of converting a Smithy model to OpenAPI.- Returns:
- Returns the mappers to register.
-
getJsonSchemaMappers
Registers JsonSchema mappers that are used to modify JsonSchema definitions created from a Smithy model.- Returns:
- Returns the mappers to register.
-