updated links

This commit is contained in:
Tony Tam
2015-03-27 18:51:26 -07:00
parent f9db0637b5
commit e214e7a0a2
5 changed files with 10 additions and 10 deletions

View File

@@ -31,18 +31,18 @@
"grantTypes": { "grantTypes": {
"implicit": { "implicit": {
"loginEndpoint": { "loginEndpoint": {
"url": "http://petstore.swagger.wordnik.com/oauth/dialog" "url": "http://petstore.swagger.io/oauth/dialog"
}, },
"tokenName": "access_token" "tokenName": "access_token"
}, },
"authorization_code": { "authorization_code": {
"tokenRequestEndpoint": { "tokenRequestEndpoint": {
"url": "http://petstore.swagger.wordnik.com/oauth/requestToken", "url": "http://petstore.swagger.io/oauth/requestToken",
"clientIdName": "client_id", "clientIdName": "client_id",
"clientSecretName": "client_secret" "clientSecretName": "client_secret"
}, },
"tokenEndpoint": { "tokenEndpoint": {
"url": "http://petstore.swagger.wordnik.com/oauth/token", "url": "http://petstore.swagger.io/oauth/token",
"tokenName": "access_code" "tokenName": "access_code"
} }
} }
@@ -51,7 +51,7 @@
}, },
"info": { "info": {
"title": "Swagger Sample App", "title": "Swagger Sample App",
"description": "This is a sample server Petstore server. You can find out more about Swagger \n at <a href=\"http://swagger.wordnik.com\">http://swagger.wordnik.com</a> or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters", "description": "This is a sample server Petstore server. You can find out more about Swagger \n at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample,\n you can use the api key \"special-key\" to test the authorization filters",
"termsOfServiceUrl": "http://helloreverb.com/terms/", "termsOfServiceUrl": "http://helloreverb.com/terms/",
"contact": "apiteam@wordnik.com", "contact": "apiteam@wordnik.com",
"license": "Apache 2.0", "license": "Apache 2.0",

View File

@@ -1,7 +1,7 @@
{ {
"apiVersion": "1.0.0", "apiVersion": "1.0.0",
"swaggerVersion": "1.2", "swaggerVersion": "1.2",
"basePath": "http://petstore.swagger.wordnik.com/api", "basePath": "http://petstore.swagger.io/api",
"resourcePath": "/pet", "resourcePath": "/pet",
"produces": [ "produces": [
"application/json", "application/json",

View File

@@ -1,7 +1,7 @@
{ {
"apiVersion": "1.0.0", "apiVersion": "1.0.0",
"swaggerVersion": "1.2", "swaggerVersion": "1.2",
"basePath": "http://petstore.swagger.wordnik.com/api", "basePath": "http://petstore.swagger.io/api",
"resourcePath": "/store", "resourcePath": "/store",
"produces": [ "produces": [
"application/json" "application/json"

View File

@@ -1,7 +1,7 @@
{ {
"apiVersion": "1.0.0", "apiVersion": "1.0.0",
"swaggerVersion": "1.2", "swaggerVersion": "1.2",
"basePath": "http://petstore.swagger.wordnik.com/api", "basePath": "http://petstore.swagger.io/api",
"resourcePath": "/user", "resourcePath": "/user",
"produces": [ "produces": [
"application/json" "application/json"

View File

@@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"description": "This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.wordnik.com\">http://swagger.wordnik.com</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters", "description": "This is a sample server Petstore server. You can find out more about Swagger at <a href=\"http://swagger.io\">http://swagger.io</a> or on irc.freenode.net, #swagger. For this sample, you can use the api key \"special-key\" to test the authorization filters",
"version": "1.0.0", "version": "1.0.0",
"title": "Swagger Petstore", "title": "Swagger Petstore",
"termsOfService": "http://helloreverb.com/terms/", "termsOfService": "http://helloreverb.com/terms/",
@@ -15,7 +15,7 @@
"url": "http://www.apache.org/licenses/LICENSE-2.0.html" "url": "http://www.apache.org/licenses/LICENSE-2.0.html"
} }
}, },
"host": "petstore.swagger.wordnik.com", "host": "petstore.swagger.io",
"basePath": "/v2", "basePath": "/v2",
"schemes": [ "schemes": [
"http" "http"
@@ -742,7 +742,7 @@
}, },
"petstore_auth": { "petstore_auth": {
"type": "oauth2", "type": "oauth2",
"authorizationUrl": "http://petstore.swagger.wordnik.com/api/oauth/dialog", "authorizationUrl": "http://petstore.swagger.io/api/oauth/dialog",
"flow": "implicit" "flow": "implicit"
} }
}, },