Skip to content

examples; fix licenses etc #1481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 9, 2018
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": "[email protected]",
"url": "http://madskristensen.net"
"email": "[email protected]",
"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": "[email protected]",
"url": "http://madskristensen.net"
"name": "Swagger API Team",
"email": "[email protected]",
"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: [email protected]
url: http://madskristensen.net
email: [email protected]
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: [email protected]
url: http://madskristensen.net
name: Swagger API Team
email: [email protected]
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: "[email protected]"
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: [email protected]
url: http://madskristensen.net
email: [email protected]
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