Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Commit

Permalink
Merge pull request #2 from udacity/ods94065/fix-swagger-test
Browse files Browse the repository at this point in the history
<fix>  Update swagger.json with new, working examples
  • Loading branch information
ods94065 committed Nov 7, 2017
2 parents 4618eb4 + 6f9958d commit 26a6851
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion geode.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description:
.
See the readme in the Git repository for more details.
homepage: https://github.com/udacity/geode
version: 0.1.0.1
version: 0.1.0.2
license: ISC
license-file: LICENSE
author: James Earl Douglas
Expand Down
28 changes: 14 additions & 14 deletions swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"basePath": "",
"paths": {
"/8.8.8.8": {
"/34.213.34.148": {
"get": {
"produces": [ "application/json" ],
"responses": {
Expand All @@ -30,16 +30,16 @@
"content-type": "application/json; charset=utf-8"
},
"body": {
"city": "Mountain View",
"city": "Boardman",
"continent": "North America",
"continentCode": "NA",
"countryCode": "US",
"countryName": "United States",
"latitude": 37.386,
"longitude": -122.0838,
"postalCode": "94035",
"region": "CA",
"regionName": "California"
"latitude": 45.8696,
"longitude": -119.688,
"postalCode": "97818",
"region": "OR",
"regionName": "Oregon"
}
}
}
Expand All @@ -60,7 +60,7 @@
"request": {
"headers": {
"accept": "application/json",
"x-forwarded-for": "8.8.4.4"
"x-forwarded-for": "34.213.34.148"
}
},
"responses": {
Expand All @@ -70,16 +70,16 @@
"content-type": "application/json; charset=utf-8"
},
"body": {
"city": null,
"city": "Boardman",
"continent": "North America",
"continentCode": "NA",
"countryCode": "US",
"countryName": "United States",
"latitude": 37.751,
"longitude": -97.822,
"postalCode": null,
"region": null,
"regionName": null
"latitude": 45.8696,
"longitude": -119.688,
"postalCode": "97818",
"region": "OR",
"regionName": "Oregon"
}
}
}
Expand Down

0 comments on commit 26a6851

Please sign in to comment.