Class AsyncAPIFormatSchema
java.lang.Object
com.asyncapi.schemas.asyncapi.ExtendableObject
com.asyncapi.schemas.asyncapi.multiformat.MultiFormatSchema<AsyncAPISchema>
com.asyncapi.schemas.asyncapi.multiformat.AsyncAPIFormatSchema
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
ConstructorsConstructorDescriptionAsyncAPIFormatSchema(@NotNull AsyncAPISchema schema) AsyncAPIFormatSchema(@Nullable String schemaFormat, @NotNull AsyncAPISchema schema) -
Method Summary
Modifier and TypeMethodDescription@NotNull AsyncAPISchemavoidsetSchema(@NotNull AsyncAPISchema schema) Methods inherited from class com.asyncapi.schemas.asyncapi.multiformat.MultiFormatSchema
getSchemaFormat, setSchemaFormatMethods inherited from class com.asyncapi.schemas.asyncapi.ExtendableObject
readExtensionProperty
-
Constructor Details
-
AsyncAPIFormatSchema
-
AsyncAPIFormatSchema
public AsyncAPIFormatSchema(@Nullable @Nullable String schemaFormat, @NotNull @NotNull AsyncAPISchema schema)
-
-
Method Details
-
setSchema
- Overrides:
setSchemain classMultiFormatSchema<AsyncAPISchema>
-
getSchema
- Overrides:
getSchemain classMultiFormatSchema<AsyncAPISchema>
-