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
Copy file name to clipboardExpand all lines: versions/3.0.md
+30-30Lines changed: 30 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The OpenAPI Specification (OAS) is a project used to describe and document RESTf
12
12
13
13
14
14
The OpenAPI Specification defines a set of files required to describe such an API.
15
-
These files can then be used by the Swagger-UI project to display the API and Swagger-Codegen to generate clients in various programming languages.
15
+
These files can then be used by documentation generation tools to display the API and code generation tools to generate clients in various programming languages.
16
16
17
17
Additional utilities can also take advantage of the resulting files, such as testing tools.
18
18
@@ -206,7 +206,7 @@ In subsequent versions of the OpenAPI Specification, care will be given such tha
206
206
#### <aname="infoObject"></a>Info Object
207
207
208
208
The object provides metadata about the API.
209
-
The metadata can be used by the clients if needed, and can be presented in the Swagger-UI for convenience.
209
+
The metadata can be used by the clients if needed, and can be presented in editing or documentation generation tools for convenience.
210
210
211
211
##### Fixed Fields
212
212
@@ -226,13 +226,13 @@ This object can be extended with [Specification Extensions](#specificationExtens
226
226
227
227
```json
228
228
{
229
-
"title": "Swagger Sample App",
229
+
"title": "Sample Pet Store App",
230
230
"description": "This is a sample server for a pet store.",
231
-
"termsOfService": "http://swagger.io/terms/",
231
+
"termsOfService": "http://example.com/terms/",
232
232
"contact": {
233
233
"name": "API Support",
234
-
"url": "http://www.swagger.io/support",
235
-
"email": "support@swagger.io"
234
+
"url": "http://www.example.com/support",
235
+
"email": "support@example.com"
236
236
},
237
237
"license": {
238
238
"name": "Apache 2.0",
@@ -243,13 +243,13 @@ This object can be extended with [Specification Extensions](#specificationExtens
243
243
```
244
244
245
245
```yaml
246
-
title: Swagger Sample App
246
+
title: Sample Pet Store App
247
247
description: This is a sample server for a pet store.
@@ -275,15 +275,15 @@ This object can be extended with [Specification Extensions](#specificationExtens
275
275
```json
276
276
{
277
277
"name": "API Support",
278
-
"url": "http://www.swagger.io/support",
279
-
"email": "support@swagger.io"
278
+
"url": "http://www.example.com/support",
279
+
"email": "support@example.com"
280
280
}
281
281
```
282
282
283
283
```yaml
284
284
name: API Support
285
-
url: http://www.swagger.io/support
286
-
email: support@swagger.io
285
+
url: http://www.example.com/support
286
+
email: support@example.com
287
287
```
288
288
289
289
#### <a name="licenseObject"></a>License Object
@@ -579,7 +579,7 @@ Describes a single API operation on a path.
579
579
Field Name | Type | Description
580
580
---|:---:|---
581
581
<a name="operationTags"></a>tags | [`string`] | A list of tags for API documentation control. Tags can be used for logical grouping of operations by resources or any other qualifier.
582
-
<a name="operationSummary"></a>summary | `string` | A short summary of what the operation does. For maximum readability in the swagger-ui, this field SHOULD be less than 120 characters.
582
+
<a name="operationSummary"></a>summary | `string` | A short summary of what the operation does. For maximum readability in editing or documentation generation tools, this field SHOULD be less than 120 characters.
583
583
<a name="operationDescription"></a>description | `string` | A verbose explanation of the operation behavior. [CommonMark syntax](http://spec.commonmark.org/) can be used for rich text representation.
584
584
<a name="operationExternalDocs"></a>externalDocs | [External Documentation Object](#externalDocumentationObject) | Additional external documentation for this operation.
585
585
<a name="operationId"></a>operationId | `string` | Unique string used to identify the operation. The id MUST be unique among all operations described in the API. Tools and libraries MAY use the operationId to uniquely identify an operation, therefore, it is recommended to follow common programming naming conventions.
@@ -720,13 +720,13 @@ This object can be extended with [Specification Extensions](#specificationExtens
0 commit comments