Skip to content

Commit 994b475

Browse files
committed
updated links
1 parent 86b7a8f commit 994b475

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

samples/java-grails2/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Swagger Sample App
22

33
## Overview
4-
This is a grails project to build a stand-alone server which implements the Swagger spec. You can find out more about both the spec and the framework at http://swagger.io. For more information about Wordnik's APIs, please visit http://developer.wordnik.com. There is an online version similar to this server at http://petstore.swagger.io/api/api-docs.json
4+
This is a grails project to build a stand-alone server which implements the Swagger spec. You can find out more about both the spec and the framework at http://swagger.io. For more information about Wordnik's APIs, please visit http://developer.wordnik.com. There is an online version similar to this server at http://petstore.swagger.io/v2/swagger.json
55

66
### Running the app
77
You do not need to install Grails separately to run this project.

samples/java-jaxrs-cxf/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This is a java project to build a stand-alone server which implements the Swagger spec. You can find out
55
more about both the spec and the framework at http://swagger.io. For more information
66
about Wordnik's APIs, please visit http://developer.wordnik.com. There is an online version of this
7-
server at http://petstore.swagger.io/api/api-docs
7+
server at http://petstore.swagger.io/v2/swagger.json
88

99
This sample creates an `application` context through the `applicationContext.xml`, allowing the `JAXRSServerFactoryBean` to reflect over property packages to discover swagger-enabled resources. This was originally contributed by [chadhahn](https://github.com/chadhahn) and adapted by [rvullriede](https://github.com/rvullriede). Thank you for your contributions!
1010

@@ -20,15 +20,15 @@ mvn package tomcat6:run
2020
This will start Tomcat 6 embedded on port 8002.
2121

2222
### Testing the server
23-
Once started, you can navigate to http://localhost:8002/api/api-docs to view the Swagger Resource Listing.
23+
Once started, you can navigate to http://localhost:8002/api/swagger.json to view the Swagger Resource Listing.
2424
This tells you that the server is up and ready to demonstrate Swagger.
2525

2626
### Using the UI
2727
There is an HTML5-based API tool available in a separate project. This lets you inspect the API using an
2828
intuitive UI. You can pull this code from here: https://github.com/wordnik/swagger-ui
2929

3030
You can then open the dist/index.html file in any HTML5-enabled browser. Upen opening, enter the
31-
URL of your server in the top-centered input box (default is http://localhost:8002/api/api-docs). Click the "Explore"
31+
URL of your server in the top-centered input box (default is http://localhost:8002/api/swagger.json). Click the "Explore"
3232
button and you should see the resources available on the server.
3333

3434
### Applying an API key

samples/java-jaxrs-no-webxml/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This is a java project to build a stand-alone server which implements the Swagger spec. You can find out
55
more about both the spec and the framework at http://swagger.io. For more information
66
about Wordnik's APIs, please visit http://developer.wordnik.com. There is an online version of this
7-
server at http://petstore.swagger.io/api/api-docs
7+
server at http://petstore.swagger.io/v2/swagger.json
88

99
### To build from source
1010
Please follow instructions to build the top-level [swagger-core project](https://github.com/wordnik/swagger-core)
@@ -18,15 +18,15 @@ mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
1818
This will start Jetty embedded on port 8002.
1919

2020
### Testing the server
21-
Once started, you can navigate to http://localhost:8002/api/api-docs to view the Swagger Resource Listing.
21+
Once started, you can navigate to http://localhost:8002/api/swagger.json to view the Swagger Resource Listing.
2222
This tells you that the server is up and ready to demonstrate Swagger.
2323

2424
### Using the UI
2525
There is an HTML5-based API tool available in a separate project. This lets you inspect the API using an
2626
intuitive UI. You can pull this code from here: https://github.com/wordnik/swagger-ui
2727

2828
You can then open the dist/index.html file in any HTML5-enabled browser. Upen opening, enter the
29-
URL of your server in the top-centered input box (default is http://localhost:8002/api/api-docs). Click the "Explore"
29+
URL of your server in the top-centered input box (default is http://localhost:8002/api/swagger.json). Click the "Explore"
3030
button and you should see the resources available on the server.
3131

3232
### Applying an API key

samples/java-jaxrs-subresource/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
1818
This will start Jetty embedded on port 8002.
1919

2020
### Testing the server
21-
Once started, you can navigate to http://localhost:8002/api/api-docs to view the Swagger Resource Listing.
21+
Once started, you can navigate to http://localhost:8002/api/swagger.json to view the Swagger Resource Listing.
2222
This tells you that the server is up and ready to demonstrate Swagger.
2323

2424
### Using the UI
2525
There is an HTML5-based API tool available in a separate project. This lets you inspect the API using an
2626
intuitive UI. You can pull this code from here: https://github.com/swagger-api/swagger-ui
2727

2828
You can then open the dist/index.html file in any HTML5-enabled browser. Upen opening, enter the
29-
URL of your server in the top-centered input box (default is http://localhost:8002/api/api-docs). Click the "Explore"
29+
URL of your server in the top-centered input box (default is http://localhost:8002/api/swagger.json). Click the "Explore"
3030
button and you should see the resources available on the server.
3131

3232
### Applying an API key

samples/java-jaxrs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This is a java project to build a stand-alone server which implements the Swagger spec. You can find out
55
more about both the spec and the framework at http://swagger.io. For more information
66
about Wordnik's APIs, please visit http://developer.wordnik.com. There is an online version of this
7-
server at http://petstore.swagger.io/api/api-docs
7+
server at http://petstore.swagger.io/v2/swagger.json
88

99
### To build from source
1010
Please follow instructions to build the top-level [swagger-core project](https://github.com/wordnik/swagger-core)
@@ -18,15 +18,15 @@ mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
1818
This will start Jetty embedded on port 8002.
1919

2020
### Testing the server
21-
Once started, you can navigate to http://localhost:8002/api/api-docs to view the Swagger Resource Listing.
21+
Once started, you can navigate to http://localhost:8002/api/swagger.json to view the Swagger Resource Listing.
2222
This tells you that the server is up and ready to demonstrate Swagger.
2323

2424
### Using the UI
2525
There is an HTML5-based API tool available in a separate project. This lets you inspect the API using an
2626
intuitive UI. You can pull this code from here: https://github.com/wordnik/swagger-ui
2727

2828
You can then open the dist/index.html file in any HTML5-enabled browser. Upen opening, enter the
29-
URL of your server in the top-centered input box (default is http://localhost:8002/api/api-docs). Click the "Explore"
29+
URL of your server in the top-centered input box (default is http://localhost:8002/api/swagger.json). Click the "Explore"
3030
button and you should see the resources available on the server.
3131

3232
### Applying an API key

samples/java-jersey-jaxrs/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
This is a java project to build a stand-alone server which implements the Swagger spec. You can find out
55
more about both the spec and the framework at http://swagger.io. For more information
66
about Wordnik's APIs, please visit http://developer.wordnik.com. There is an online version of this
7-
server at http://petstore.swagger.io/api/api-docs
7+
server at http://petstore.swagger.io/v2/swagger.json
88

99
### To build from source
1010
Please follow instructions to build the top-level [swagger-core project](https://github.com/wordnik/swagger-core)
@@ -18,15 +18,15 @@ mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
1818
This will start Jetty embedded on port 8002.
1919

2020
### Testing the server
21-
Once started, you can navigate to http://localhost:8002/api/api-docs to view the Swagger Resource Listing.
21+
Once started, you can navigate to http://localhost:8002/api/swagger.json to view the Swagger Resource Listing.
2222
This tells you that the server is up and ready to demonstrate Swagger.
2323

2424
### Using the UI
2525
There is an HTML5-based API tool available in a separate project. This lets you inspect the API using an
2626
intuitive UI. You can pull this code from here: https://github.com/wordnik/swagger-ui
2727

2828
You can then open the dist/index.html file in any HTML5-enabled browser. Upen opening, enter the
29-
URL of your server in the top-centered input box (default is http://localhost:8002/api/api-docs). Click the "Explore"
29+
URL of your server in the top-centered input box (default is http://localhost:8002/api/swagger.json). Click the "Explore"
3030
button and you should see the resources available on the server.
3131

3232
### Applying an API key

samples/java-jersey2/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ mvn package -Dlog4j.configuration=file:./conf/log4j.properties jetty:run
1818
This will start Jetty embedded on port 8002.
1919

2020
### Testing the server
21-
Once started, you can navigate to http://localhost:8002/api/api-docs.json to view the Swagger Resource Listing.
21+
Once started, you can navigate to http://localhost:8002/api/swagger.json.json to view the Swagger Resource Listing.
2222
This tells you that the server is up and ready to demonstrate Swagger.
2323

2424
### Using the UI
2525
There is an HTML5-based API tool available in a separate project. This lets you inspect the API using an
2626
intuitive UI. You can pull this code from here: https://github.com/swagger-api/swagger-ui
2727

2828
You can then open the dist/index.html file in any HTML5-enabled browser. Upen opening, enter the
29-
URL of your server in the top-centered input box (default is http://localhost:8002/api/api-docs.json). Click the "Explore"
29+
URL of your server in the top-centered input box (default is http://localhost:8002/api/swagger.json.json). Click the "Explore"
3030
button and you should see the resources available on the server.
3131

3232
### Applying an API key

0 commit comments

Comments
 (0)