Package com.asyncapi.schemas.asyncapi
Class ExtendableObject
java.lang.Object
com.asyncapi.schemas.asyncapi.ExtendableObject
- Direct Known Subclasses:
AsyncAPI,AsyncAPI,AsyncAPI,AsyncAPISchema,Channel,ChannelBinding,ChannelItem,ChannelItem,Components,Components,Components,Contact,Contact,Contact,CorrelationId,CorrelationId,CorrelationId,ExternalDocumentation,ExternalDocumentation,ExternalDocumentation,Info,Info,Info,License,License,License,Message,Message,Message,MessageBinding,MessageExample,MessageExample,MessageTrait,MessageTrait,MessageTrait,MultiFormatSchema,OAuthFlow,OAuthFlow,OAuthFlows,OAuthFlows,Operation,Operation,Operation,OperationBinding,OperationReply,OperationReplyAddress,OperationTrait,OperationTrait,OperationTrait,Parameter,Parameter,Parameter,SecurityScheme,SecurityScheme,Server,Server,Server,ServerBinding,ServerVariable,ServerVariable,ServerVariable,Tag,Tag,Tag
While the AsyncAPI Specification tries to accommodate most use cases,
additional data can be added to extend the specification at certain points.
The extensions properties are implemented as patterned fields that are always prefixed by "x-".
The extensions may or may not be supported by the available tooling, but those may be extended as well to add requested support (if tools are internal or open-sourced).
- Version:
- 3.0.0
- Author:
- Pavel Bodiachevskii
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionExtension fields in the form x-extension-field-name for the exposed API.static final Pattern -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidreadExtensionProperty(String name, Object value)
-
Field Details
-
extensionPropertyNamePattern
-
extensionFields
Extension fields in the form x-extension-field-name for the exposed API.
-
-
Constructor Details
-
ExtendableObject
public ExtendableObject()
-
-
Method Details
-
readExtensionProperty
-