Class OpenAPIFormatSchema
java.lang.Object
com.asyncapi.schemas.asyncapi.ExtendableObject
com.asyncapi.schemas.asyncapi.multiformat.MultiFormatSchema<OpenAPISchema>
com.asyncapi.schemas.asyncapi.multiformat.OpenAPIFormatSchema
The Multi Format Schema Object represents a schema definition. It differs from the
AsyncAPISchema in that it supports
multiple schema formats or languages (e.g., JSON Schema, Avro, etc.).- Version:
- 3.0.0
- Author:
- Pavel Bodiachevskii
- See Also:
-
Field Summary
Fields inherited from class com.asyncapi.schemas.asyncapi.ExtendableObject
extensionFields, extensionPropertyNamePattern -
Constructor Summary
ConstructorsConstructorDescriptionOpenAPIFormatSchema(@NotNull OpenAPISchema schema) OpenAPIFormatSchema(@NotNull String schemaFormat, @NotNull OpenAPISchema schema) -
Method Summary
Modifier and TypeMethodDescription@NotNull OpenAPISchemavoidsetSchema(@NotNull OpenAPISchema schema) Methods inherited from class com.asyncapi.schemas.asyncapi.multiformat.MultiFormatSchema
getSchemaFormat, setSchemaFormatMethods inherited from class com.asyncapi.schemas.asyncapi.ExtendableObject
readExtensionProperty
-
Constructor Details
-
OpenAPIFormatSchema
-
OpenAPIFormatSchema
public OpenAPIFormatSchema(@NotNull @NotNull String schemaFormat, @NotNull @NotNull OpenAPISchema schema)
-
-
Method Details
-
setSchema
- Overrides:
setSchemain classMultiFormatSchema<OpenAPISchema>
-
getSchema
- Overrides:
getSchemain classMultiFormatSchema<OpenAPISchema>
-