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
'A short description of the application. [GFM syntax](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown) can be used for rich text representation.',
'[Contact Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#contactObject)\n\\\n\\\nThe contact information for the exposed API.',
'[License Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/2.0.md#licenseObject)\n\\\n\\\nThe license information for the exposed API.',
docs: '**Required.** The title of the application.',
18
+
targetSpecs: OpenAPI2,
19
+
},
15
20
{
16
21
target: 'title',
17
22
docs: '**REQUIRED.** The title of the API.',
@@ -22,16 +27,31 @@ const documentation = [
22
27
docs: 'A short summary of the API.',
23
28
targetSpecs: OpenAPI31,
24
29
},
30
+
{
31
+
target: 'description',
32
+
docs: 'A short description of the application. [GFM syntax](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown) can be used for rich text representation.',
33
+
targetSpecs: OpenAPI2,
34
+
},
25
35
{
26
36
target: 'description',
27
37
docs: 'A description of the API. [CommonMark syntax](https://spec.commonmark.org/) MAY be used for rich text representation.',
28
38
targetSpecs: OpenAPI3,
29
39
},
40
+
{
41
+
target: 'termsOfService',
42
+
docs: 'The Terms of Service for the API.',
43
+
targetSpecs: OpenAPI2,
44
+
},
30
45
{
31
46
target: 'termsOfService',
32
47
docs: 'A URL to the Terms of Service for the API. This MUST be in the form of a URL.',
33
48
targetSpecs: OpenAPI3,
34
49
},
50
+
{
51
+
target: 'version',
52
+
docs: '**Required** Provides the version of the application API (not to be confused with the specification version).',
53
+
targetSpecs: OpenAPI2,
54
+
},
35
55
{
36
56
target: 'version',
37
57
docs: '**REQUIRED**. The version of the OpenAPI document (which is distinct from the [OpenAPI Specification version](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oasVersion) or the API implementation version).',
0 commit comments