Skip to content

Commit 5e91483

Browse files
authored
Merge pull request #1481 from MikeRalphson/fix-example-licenses-etc
examples; fix licenses etc
2 parents c0fca86 + f25a1d4 commit 5e91483

File tree

7 files changed

+33
-33
lines changed

7 files changed

+33
-33
lines changed

examples/v2.0/json/petstore-expanded.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"termsOfService": "http://swagger.io/terms/",
88
"contact": {
99
"name": "Swagger API Team",
10-
"email": "[email protected]",
11-
"url": "http://madskristensen.net"
10+
"email": "[email protected]",
11+
"url": "http://swagger.io"
1212
},
1313
"license": {
14-
"name": "MIT",
15-
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
14+
"name": "Apache 2.0",
15+
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
1616
}
1717
},
1818
"host": "petstore.swagger.io",
@@ -207,4 +207,4 @@
207207
}
208208
}
209209
}
210-
}
210+
}

examples/v2.0/json/petstore-separate/spec/swagger.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44
"version": "1.0.0",
55
"title": "Swagger Petstore",
66
"description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
7-
"termsOfService": "http://helloreverb.com/terms/",
7+
"termsOfService": "http://swagger.io/terms/",
88
"contact": {
9-
"name": "Wordnik API Team",
10-
"email": "[email protected]",
11-
"url": "http://madskristensen.net"
9+
"name": "Swagger API Team",
10+
"email": "[email protected]",
11+
"url": "http://swagger.io"
1212
},
1313
"license": {
14-
"name": "MIT",
15-
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
14+
"name": "Apache 2.0",
15+
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
1616
}
1717
},
18-
"host": "petstore.swagger.wordnik.com",
18+
"host": "petstore.swagger.io",
1919
"basePath": "/api",
2020
"schemes": [
2121
"http"
@@ -143,4 +143,4 @@
143143
}
144144
}
145145
}
146-
}
146+
}

examples/v2.0/json/petstore-with-external-docs.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"url": "http://swagger.io"
1212
},
1313
"license": {
14-
"name": "MIT",
15-
"url": "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
14+
"name": "Apache 2.0",
15+
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
1616
}
1717
},
1818
"externalDocs": {
@@ -230,4 +230,4 @@
230230
}
231231
}
232232
}
233-
}
233+
}

examples/v2.0/yaml/petstore-expanded.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ info:
66
termsOfService: http://swagger.io/terms/
77
contact:
88
name: Swagger API Team
9-
10-
url: http://madskristensen.net
9+
10+
url: http://swagger.io
1111
license:
12-
name: MIT
13-
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
12+
name: Apache 2.0
13+
url: https://www.apache.org/licenses/LICENSE-2.0.html
1414
host: petstore.swagger.io
1515
basePath: /api
1616
schemes:

examples/v2.0/yaml/petstore-separate/spec/swagger.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ info:
33
version: 1.0.0
44
title: Swagger Petstore
55
description: A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification
6-
termsOfService: http://helloreverb.com/terms/
6+
termsOfService: http://swagger.io/terms/
77
contact:
8-
name: Wordnik API Team
9-
10-
url: http://madskristensen.net
8+
name: Swagger API Team
9+
10+
url: http://swagger.io
1111
license:
12-
name: MIT
13-
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
14-
host: petstore.swagger.wordnik.com
12+
name: Apache 2.0
13+
url: https://www.apache.org/licenses/LICENSE-2.0.html
14+
host: petstore.swagger.io
1515
basePath: /api
1616
schemes:
1717
- http

examples/v2.0/yaml/petstore-with-external-docs.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
1111
url: "http://swagger.io"
1212
license:
13-
name: "MIT"
14-
url: "http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT"
13+
name: "Apache 2.0"
14+
url: "https://www.apache.org/licenses/LICENSE-2.0.html"
1515
externalDocs:
1616
description: "find more info here"
1717
url: "https://swagger.io/about"

examples/v3.0/petstore-expanded.yaml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ info:
66
termsOfService: http://swagger.io/terms/
77
contact:
88
name: Swagger API Team
9-
10-
url: http://madskristensen.net
9+
10+
url: http://swagger.io
1111
license:
12-
name: MIT
13-
url: http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT
12+
name: Apache 2.0
13+
url: https://www.apache.org/licenses/LICENSE-2.0.html
1414
servers:
1515
- url: http://petstore.swagger.io/api
1616
paths:

0 commit comments

Comments
 (0)