examples; fix licenses etc
MODIFY
examples/v2.0/json/petstore-expanded.json
examples/v2.0/json/petstore-expanded.json
"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",

MODIFY
examples/v2.0/json/petstore-separate/spec/swagger.json
examples/v2.0/json/petstore-separate/spec/swagger.json
"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"

MODIFY
examples/v2.0/json/petstore-with-external-docs.json
examples/v2.0/json/petstore-with-external-docs.json
"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": {

MODIFY
examples/v2.0/yaml/petstore-expanded.yaml
examples/v2.0/yaml/petstore-expanded.yaml
@@ -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:

MODIFY
examples/v2.0/yaml/petstore-separate/spec/swagger.yaml
examples/v2.0/yaml/petstore-separate/spec/swagger.yaml
@@ -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

MODIFY
examples/v2.0/yaml/petstore-with-external-docs.yaml
examples/v2.0/yaml/petstore-with-external-docs.yaml
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"

MODIFY
examples/v3.0/petstore-expanded.yaml
examples/v3.0/petstore-expanded.yaml
@@ -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:

examples; fix licenses etc