Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions examples/v2.0/json/petstore-expanded.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"termsOfService": "http://swagger.io/terms/",
"contact": {
"name": "Swagger API Team",
"email": "foo@example.com",
"url": "http://madskristensen.net"
"email": "apiteam@swagger.io",
"url": "http://swagger.io"
},
"license": {
"name": "MIT",
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"host": "petstore.swagger.io",
Expand Down Expand Up @@ -207,4 +207,4 @@
}
}
}
}
}
16 changes: 8 additions & 8 deletions examples/v2.0/json/petstore-separate/spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
"version": "1.0.0",
"title": "Swagger Petstore",
"description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
"termsOfService": "http://helloreverb.com/terms/",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"name": "Wordnik API Team",
"email": "foo@example.com",
"url": "http://madskristensen.net"
"name": "Swagger API Team",
"email": "apiteam@swagger.io",
"url": "http://swagger.io"
},
"license": {
"name": "MIT",
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"host": "petstore.swagger.wordnik.com",
"host": "petstore.swagger.io",
"basePath": "/api",
"schemes": [
"http"
Expand Down Expand Up @@ -143,4 +143,4 @@
}
}
}
}
}
6 changes: 3 additions & 3 deletions examples/v2.0/json/petstore-with-external-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"url": "http://swagger.io"
},
"license": {
"name": "MIT",
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
}
},
"externalDocs": {
Expand Down Expand Up @@ -230,4 +230,4 @@
}
}
}
}
}
8 changes: 4 additions & 4 deletions examples/v2.0/yaml/petstore-expanded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ info:
termsOfService: http://swagger.io/terms/
contact:
name: Swagger API Team
email: foo@example.com
url: http://madskristensen.net
email: apiteam@swagger.io
url: http://swagger.io
license:
name: MIT
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
host: petstore.swagger.io
basePath: /api
schemes:
Expand Down
14 changes: 7 additions & 7 deletions examples/v2.0/yaml/petstore-separate/spec/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ info:
version: 1.0.0
title: Swagger Petstore
description: A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification
termsOfService: http://helloreverb.com/terms/
termsOfService: http://swagger.io/terms/
contact:
name: Wordnik API Team
email: foo@example.com
url: http://madskristensen.net
name: Swagger API Team
email: apiteam@swagger.io
url: http://swagger.io
license:
name: MIT
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
host: petstore.swagger.wordnik.com
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
host: petstore.swagger.io
basePath: /api
schemes:
- http
Expand Down
4 changes: 2 additions & 2 deletions examples/v2.0/yaml/petstore-with-external-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
email: "apiteam@swagger.io"
url: "http://swagger.io"
license:
name: "MIT"
url: "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
name: "Apache 2.0"
url: "https://www.apache.org/licenses/LICENSE-2.0.html"
externalDocs:
description: "find more info here"
url: "https://swagger.io/about"
Expand Down
8 changes: 4 additions & 4 deletions examples/v3.0/petstore-expanded.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ info:
termsOfService: http://swagger.io/terms/
contact:
name: Swagger API Team
email: foo@example.com
url: http://madskristensen.net
email: apiteam@swagger.io
url: http://swagger.io
license:
name: MIT
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: http://petstore.swagger.io/api
paths:
Expand Down