Skip to content

Commit

Permalink
fix(Servers): allow to use union type of Server and Reference objects
Browse files Browse the repository at this point in the history
  • Loading branch information
char0n committed Feb 4, 2022
1 parent deca6d9 commit 9ef5239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/asyncapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ The Servers Object is a map of [Server Objects](#serverObject).

Field Pattern | Type | Description
---|:---:|---
<a name="serversObjectServer"></a>`^[A-Za-z0-9_\-]+$` | [Server Object](#serverObject) | The definition of a server this application MAY connect to.
<a name="serversObjectServer"></a>`^[A-Za-z0-9_\-]+$` | [Server Object](#serverObject) \| [Reference Object](#referenceObject) | The definition of a server this application MAY connect to.

##### Servers Object Example

Expand Down

0 comments on commit 9ef5239

Please sign in to comment.