forked from loafle/openapi-generator-original
url changes
This commit is contained in:
parent
96107193e9
commit
22d7db2cb4
@ -31,18 +31,18 @@
|
|||||||
"grantTypes": {
|
"grantTypes": {
|
||||||
"implicit": {
|
"implicit": {
|
||||||
"loginEndpoint": {
|
"loginEndpoint": {
|
||||||
"url": "http://petstore.swagger.wordnik.com/oauth/dialog"
|
"url": "http://petstore.swagger.io/api/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/api/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/api/oauth/token",
|
||||||
"tokenName": "access_code"
|
"tokenName": "access_code"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -53,7 +53,7 @@
|
|||||||
"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.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",
|
||||||
"termsOfServiceUrl": "http://swagger.io/terms/",
|
"termsOfServiceUrl": "http://swagger.io/terms/",
|
||||||
"contact": "apiteam@wordnik.com",
|
"contact": "apiteam@swagger.io",
|
||||||
"license": "Apache 2.0",
|
"license": "Apache 2.0",
|
||||||
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
"licenseUrl": "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
}
|
}
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"title": "Swagger Petstore",
|
"title": "Swagger Petstore",
|
||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "apiteam@wordnik.com"
|
"email": "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"title": "Swagger Petstore",
|
"title": "Swagger Petstore",
|
||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "apiteam@wordnik.com"
|
"email": "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"title": "Swagger Petstore",
|
"title": "Swagger Petstore",
|
||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"name": "apiteam@wordnik.com"
|
"name": "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"title": "Swagger Petstore",
|
"title": "Swagger Petstore",
|
||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "apiteam@wordnik.com"
|
"email": "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"title": "Swagger Petstore",
|
"title": "Swagger Petstore",
|
||||||
"termsOfService": "http://swagger.io/terms/",
|
"termsOfService": "http://swagger.io/terms/",
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "apiteam@wordnik.com"
|
"email": "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license": {
|
"license": {
|
||||||
"name": "Apache 2.0",
|
"name": "Apache 2.0",
|
||||||
|
@ -18,7 +18,7 @@ setup(
|
|||||||
name="SwaggerPetstore",
|
name="SwaggerPetstore",
|
||||||
version="1.0.0",
|
version="1.0.0",
|
||||||
description="Swagger Petstore",
|
description="Swagger Petstore",
|
||||||
author_email="apiteam@wordnik.com",
|
author_email="apiteam@swagger.io",
|
||||||
url="",
|
url="",
|
||||||
keywords=["Swagger", "Swagger Petstore"],
|
keywords=["Swagger", "Swagger Petstore"],
|
||||||
install_requires=REQUIRES,
|
install_requires=REQUIRES,
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
<h1>Swagger Petstore</h1>
|
<h1>Swagger Petstore</h1>
|
||||||
<div class="app-desc">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 for </div>
|
<div class="app-desc">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 for </div>
|
||||||
|
|
||||||
<div class="app-desc">Contact Info: <a href="apiteam@wordnik.com">apiteam@wordnik.com</a></div>
|
<div class="app-desc">Contact Info: <a href="apiteam@swagger.io">apiteam@swagger.io</a></div>
|
||||||
<div class="app-desc">Version: 1.0.0</div>
|
<div class="app-desc">Version: 1.0.0</div>
|
||||||
<div class="license-info">Apache 2.0</div>
|
<div class="license-info">Apache 2.0</div>
|
||||||
<div class="license-url">http://www.apache.org/licenses/LICENSE-2.0.html</div>
|
<div class="license-url">http://www.apache.org/licenses/LICENSE-2.0.html</div>
|
||||||
|
@ -26,7 +26,7 @@ public class SwaggerConfig {
|
|||||||
"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",
|
"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",
|
||||||
"1.0.0",
|
"1.0.0",
|
||||||
"",
|
"",
|
||||||
"apiteam@wordnik.com",
|
"apiteam@swagger.io",
|
||||||
"Apache 2.0",
|
"Apache 2.0",
|
||||||
"http://www.apache.org/licenses/LICENSE-2.0.html" );
|
"http://www.apache.org/licenses/LICENSE-2.0.html" );
|
||||||
return apiInfo;
|
return apiInfo;
|
||||||
|
@ -32,6 +32,6 @@ 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."
|
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."
|
||||||
termsOfServiceUrl: "http://swagger.io/terms/"
|
termsOfServiceUrl: "http://swagger.io/terms/"
|
||||||
contact: "apiteam@wordnik.com"
|
contact: "apiteam@swagger.io"
|
||||||
license: Apache 2.0
|
license: Apache 2.0
|
||||||
licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.html"
|
licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.html"
|
Loading…
x
Reference in New Issue
Block a user