AsyncAPIDocumentInterface
@the-codegen-project/cli • Docs
Home / AsyncAPIDocumentInterface
Interface: AsyncAPIDocumentInterface
Extends
BaseModel
<v2.AsyncAPIObject
|v3.AsyncAPIObject
>.ExtensionsMixinInterface
Properties
Property | Modifier | Type | Inherited from | Defined in |
---|---|---|---|---|
_json | readonly | AsyncAPIObject | AsyncAPIObject | BaseModel._json | node_modules/@asyncapi/parser/esm/models/base.d.ts:8 |
_meta | readonly | ModelMetadata | BaseModel._meta | node_modules/@asyncapi/parser/esm/models/base.d.ts:9 |
Methods
allChannels()
allChannels(): ChannelsInterface
Returns
ChannelsInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:26
allMessages()
allMessages(): MessagesInterface
Returns
MessagesInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:28
allOperations()
allOperations(): OperationsInterface
Returns
OperationsInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:27
allSchemas()
allSchemas(): SchemasInterface
Returns
SchemasInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:29
allServers()
allServers(): ServersInterface
Returns
ServersInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:25
channels()
channels(): ChannelsInterface
Returns
ChannelsInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:19
components()
components(): ComponentsInterface
Returns
ComponentsInterface
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:24
createModel()
protected createModel<T>(
Model,
value,
meta): T
Type Parameters
Type Parameter |
---|
T extends BaseModel <any , {}> |
Parameters
Parameter | Type |
---|---|
Model | Constructor <T > |
value | InferModelData <T > |
meta | Omit <ModelMetadata , "asyncapi" > & InferModelMetadata <T > |
Returns
T
Inherited from
BaseModel.createModel
Defined in
node_modules/@asyncapi/parser/esm/models/base.d.ts:16
defaultContentType()
defaultContentType(): undefined | string
Returns
undefined
| string
Defined in
node_modules/@asyncapi/parser/esm/models/asyncapi.d.ts:15
extensions()
extensions(): ExtensionsInterface