You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>The RestDoc model consist of different components, which are described in the following sections. Each component is part of the root model or is part of another component. The overall structure of RestDoc in defined in chapter <ahref="#structure">3.1</a></p>
328
+
<p>The RestDoc model consist of different components, which are described in the following sections. Each component is part of the root model or is part of another component. The overall structure of RestDoc in defined in chapter <em>3.1</em></p>
<p>The retrieval of the RestDoc documentation is done via the HTTP OPTIONS verb. Querying the server with an asterisk as path (<code>OPTIONS * HTTP/1.1</code>) MUST return a RestDoc documentation with all resources available.</p>
388
+
<p>The retrieval of the RestDoc documentation is done via the HTTP OPTIONS verb. Querying the server with a path (<code>OPTIONS /xyz HTTP/1.1</code>) MUST return a RestDoc documentation with all resources available with paths beginning with /xyz.</p>
389
389
390
390
<p>Performing an OPTIONS request with an unexpanded URI path MUST return a RestDoc resource description. Given our example application the request <code>OPTIONS /%7Blocale%7D/%7BmessageId%7D HTTP/1.1</code> MUST return the RestDoc resource description for the "LocalizedMessage" resource.</p>
391
391
@@ -397,9 +397,9 @@ <h3>
397
397
398
398
<p>The default representation of RestDoc is JSON with the custom MediaType <code>application/x-restdoc+json</code>. In the following you find a textual definition of the RestDoc JSON representation.</p>
399
399
400
-
<p>The root object consist of two object with the names "schema" and "headers" and an array "resources". </p>
400
+
<p>The root object consist of two object with the names <em>schema</em> and <em>headers</em> and an array <em>resources</em>. </p>
401
401
402
-
<p>The "schema" object contains objects with the schema URI as name and the schema definition as content. The content contains a field type with value "inline" or "url". Inline schemas provide a schema object with inline JSON-Schema and URL schemas provide a field url with the URL of the schema document.</p>
402
+
<p>The <em>schema</em> object contains objects with the schema URI as name and the schema definition as content. The content contains a field type with value <em>inline</em> or <em>url</em>. Inline schemas provide a schema object with inline JSON-Schema and URL schemas provide a field url with the URL of the schema document.</p>
<p>The "headers" object contains a "request" and a "response" object. The contents of these objects are itself objects with the header name as field name and the content as described in <ahref="#header">Section 2.5</a>.</p>
426
+
<p>The <em>headers</em> object contains a <em>request</em> and a <em>response</em> object. The contents of these objects are itself objects with the header name as field name and the content as described in <em>Section 2.5</em></p>
<p>RestDoc is designed to be extensible. Therefore any additional fields not named in this specification MUST be ignored by implementations that do not understand them. But implementations MUST NOT rely on any additional fields to be RestDoc compliant. Extensions MUST NOT change the meaning of fields defined in this specification.</p>
632
632
633
-
<p>An extension may for example defined other validation types than "match" but must not change the behavior of the type "match".</p>
633
+
<p>An extension may for example defined other validation types than <em>match</em> but must not change the behavior of the type <em>match</em>.</p>
<p>This specification and any related work is located at <ahref="http://www.restdoc.org">http://www.restdoc.org</a> and <ahref="https://github.com/RestDoc">https://github.com/RestDoc</a>. </p>
681
+
<p>This specification and any related work is located at <ahref="http://www.restdoc.org">http://www.restdoc.org</a> and <ahref="https://github.com/RestDoc">https://github.com/RestDoc</a>.
682
+
Discussion and help can be found on the RestDoc Google group located at <ahref="https://groups.google.com/d/forum/restdoc">https://groups.google.com/d/forum/restdoc</a></p>
0 commit comments