-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathasyncapi.go
More file actions
105 lines (70 loc) · 4.14 KB
/
asyncapi.go
File metadata and controls
105 lines (70 loc) · 4.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
package forge
import "github.com/xraph/forge/internal/shared"
// AsyncAPIConfig configures AsyncAPI 3.0.0 generation.
type AsyncAPIConfig = shared.AsyncAPIConfig
// AsyncAPISpec represents the complete AsyncAPI 3.0.0 specification.
type AsyncAPISpec = shared.AsyncAPISpec
// AsyncAPIInfo provides metadata about the API.
type AsyncAPIInfo = shared.AsyncAPIInfo
// AsyncAPIServer represents a server in the AsyncAPI spec.
type AsyncAPIServer = shared.AsyncAPIServer
// AsyncAPIServerBindings contains protocol-specific server bindings.
type AsyncAPIServerBindings = shared.AsyncAPIServerBindings
// WebSocketServerBinding represents WebSocket-specific server configuration.
type WebSocketServerBinding = shared.WebSocketServerBinding
// HTTPServerBinding represents HTTP-specific server configuration.
type HTTPServerBinding = shared.HTTPServerBinding
// AsyncAPIChannel represents a channel in the AsyncAPI spec.
type AsyncAPIChannel = shared.AsyncAPIChannel
// AsyncAPIChannelBindings contains protocol-specific channel bindings.
type AsyncAPIChannelBindings = shared.AsyncAPIChannelBindings
// WebSocketChannelBinding represents WebSocket-specific channel configuration.
type WebSocketChannelBinding = shared.WebSocketChannelBinding
// HTTPChannelBinding represents HTTP-specific channel configuration.
type HTTPChannelBinding = shared.HTTPChannelBinding
// AsyncAPIServerReference references a server.
type AsyncAPIServerReference = shared.AsyncAPIServerReference
// AsyncAPIParameter represents a parameter in channel address.
type AsyncAPIParameter = shared.AsyncAPIParameter
// AsyncAPIOperation represents an operation in the AsyncAPI spec.
type AsyncAPIOperation = shared.AsyncAPIOperation
// AsyncAPIChannelReference references a channel.
type AsyncAPIChannelReference = shared.AsyncAPIChannelReference
// AsyncAPIMessageReference references a message.
type AsyncAPIMessageReference = shared.AsyncAPIMessageReference
// AsyncAPIOperationBindings contains protocol-specific operation bindings.
type AsyncAPIOperationBindings = shared.AsyncAPIOperationBindings
// WebSocketOperationBinding represents WebSocket-specific operation configuration.
type WebSocketOperationBinding = shared.WebSocketOperationBinding
// HTTPOperationBinding represents HTTP-specific operation configuration.
type HTTPOperationBinding = shared.HTTPOperationBinding
// AsyncAPIOperationTrait represents reusable operation characteristics.
type AsyncAPIOperationTrait = shared.AsyncAPIOperationTrait
// AsyncAPIOperationReply represents the reply configuration for an operation.
type AsyncAPIOperationReply = shared.AsyncAPIOperationReply
// AsyncAPIOperationReplyAddress represents the reply address.
type AsyncAPIOperationReplyAddress = shared.AsyncAPIOperationReplyAddress
// AsyncAPIMessage represents a message in the AsyncAPI spec.
type AsyncAPIMessage = shared.AsyncAPIMessage
// AsyncAPICorrelationID specifies a correlation ID for request-reply patterns.
type AsyncAPICorrelationID = shared.AsyncAPICorrelationID
// AsyncAPIMessageBindings contains protocol-specific message bindings.
type AsyncAPIMessageBindings = shared.AsyncAPIMessageBindings
// WebSocketMessageBinding represents WebSocket-specific message configuration.
type WebSocketMessageBinding = shared.WebSocketMessageBinding
// HTTPMessageBinding represents HTTP-specific message configuration.
type HTTPMessageBinding = shared.HTTPMessageBinding
// AsyncAPIMessageExample represents an example of a message.
type AsyncAPIMessageExample = shared.AsyncAPIMessageExample
// AsyncAPIMessageTrait represents reusable message characteristics.
type AsyncAPIMessageTrait = shared.AsyncAPIMessageTrait
// AsyncAPIComponents holds reusable objects for the API spec.
type AsyncAPIComponents = shared.AsyncAPIComponents
// AsyncAPISecurityScheme defines a security scheme.
type AsyncAPISecurityScheme = shared.AsyncAPISecurityScheme
// AsyncAPIOAuthFlows defines OAuth 2.0 flows.
type AsyncAPIOAuthFlows = shared.AsyncAPIOAuthFlows
// AsyncAPISecurityRequirement lists required security schemes.
type AsyncAPISecurityRequirement = shared.AsyncAPISecurityRequirement
// AsyncAPITag represents a tag in the AsyncAPI spec.
type AsyncAPITag = shared.AsyncAPITag