Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions sections/designRules.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,7 +687,9 @@ An API is as good as the accompanying documentation. The documentation has to be
<dl>
<dt>Statement</dt>
<dd>
OpenAPI definition document SHOULD include the <a href="https://spec.openapis.org/oas/v3.0.1.html#contact-object"><code>info.contact</code></a> object for publicly available APIs. Contact information SHOULD NOT be a generic contact address for the whole organisation.
OpenAPI definition document SHOULD include the <a href="https://spec.openapis.org/oas/v3.0.1.html#contact-object"><code>info.contact</code></a> object for publicly available APIs.
The <code>info.contact</code> object MUST include the fields <code>name</code>, <code>url</code> and <code>email</code>.
Contact information SHOULD NOT be a generic contact address for the whole organisation.
</dd>
<dt>Rationale</dt>
<dd>
Expand All @@ -703,7 +705,10 @@ An API is as good as the accompanying documentation. The documentation has to be
</dd>
<dt>How to test</dt>
<dd>
Parse the OpenAPI Description to confirm the <code>info.contact</code> object is present.
<ul>
<li>Step 1. Parse the OpenAPI Description to confirm the <code>info.contact</code> object is present.
<li>Step 2. Confirm <code>info.contact</code> contains the fields <code>name</code>, <code>url</code> and <code>email</code>.
</ul>
</dd>
</dl>
</div>
Expand Down
Loading