mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Compare commits
2 Commits
adf9bd5a60
...
1312cd0a8d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1312cd0a8d | ||
|
|
f5fa73dda3 |
@@ -2,6 +2,8 @@
|
||||
|
||||
AsyncAPI specs **MUST** include at least one main contact under the info.contact section.
|
||||
|
||||
Aside from _name_ field, which describes the contact information, it supports two fields for the contact detail, _email_ and _url_. It **MUST** contain at least one of them. For _url_, it is suggested to specify an endpoint where the contact detail is clearly reflected.
|
||||
|
||||
The spec only allows to include one contact there, but it **MAY** also include additional contacts using extension fields. In case this is done, it **MUST** use the extension field _x-additional-responsibles_.
|
||||
|
||||
For example:
|
||||
@@ -13,6 +15,7 @@ info:
|
||||
contact:
|
||||
name: "Main point of contact"
|
||||
email: "team_dl@adidas.com"
|
||||
url: http://www.adidas.com/contact/team_dl
|
||||
x-additional-responsibles:
|
||||
- person2@adidas.com
|
||||
- person3@adidas.com
|
||||
|
||||
Reference in New Issue
Block a user