Skip to content

Commit 8abb450

Browse files
committed
updating links in documentation.
1 parent 60cee4e commit 8abb450

File tree

2 files changed

+13
-12
lines changed

2 files changed

+13
-12
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ $ java -jar ./target/api-impl-demo-[version]-SNAPSHOT-runner.jar
3939

4040
then browse to:
4141

42-
- OpenApi definition : `http://localhost:8080/openapi`
43-
- OpenApi UI : `http://localhost:8080/openapi-ui/`
44-
- API : `http://localhost:8080/api/v1/video-games?page=0&size=100`
45-
- Health: `http://localhost:8080/health`
46-
- Metrics: `http://localhost:8080/metrics`
42+
- OpenApi definition : `http://localhost:8080/v1/openapi`
43+
- OpenApi UI : `http://localhost:8080/openapi-ui`
44+
- API : `http://localhost:8080/v1/api/video-games?page=0&size=100`
45+
- Health: `http://localhost:8080/v1/health`
46+
- Health UI: `http://localhost:8080/v1/health-ui`
47+
- Metrics: `http://localhost:8080/v1/metrics`
4748

4849
## Examples
4950

50-
### HEAD `/api/v1/video-games`
51+
### HEAD `/v1/api/video-games`
5152

5253
```text
5354
HTTP/1.1 204 No Content
@@ -56,7 +57,7 @@ connection: keep-alive
5657
```
5758

5859

59-
### GET `/api/v1/video-games?page=5&size=10`
60+
### GET `/v1/api/video-games?page=5&size=10`
6061

6162

6263
```json
@@ -131,7 +132,7 @@ connection: keep-alive
131132
}
132133
```
133134

134-
### GET `/api/v1/video-games/098d7670-ac32-49e7-9752-93fb1d16d495`
135+
### GET `/v1/api/video-games/098d7670-ac32-49e7-9752-93fb1d16d495`
135136

136137
```json
137138
{
@@ -142,7 +143,7 @@ connection: keep-alive
142143
}
143144
```
144145

145-
### GET `/api/v1/video-games?page=5&size=10&name=like:xeno`
146+
### GET `/v1/api/video-games?page=5&size=10&name=like:xeno`
146147

147148
```json
148149
{

src/main/resources/META-INF/resources/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ <h1>API for Atari ST Floppy Catalog</h1>
3030
<hr />
3131
<p>Just go these links :
3232
<ul>
33-
<li>OpenAPI UI : <a href="/openapi-ui">/openapi-ui</a>, direct link to the <a href="/api/v1/openapi">yaml file</a></li>
34-
<li>Watch the <a href="/health-ui">/health</a> or get the <a href="/api/v1/health">JSON response</a>. </li>
35-
<li>Look at the <a href="/api/v1/metrics">/metrics</a> of the API.</li>
33+
<li>OpenAPI UI : <a href="/openapi-ui">/openapi-ui</a>, direct link to the <a href="/v1/openapi">yaml file</a></li>
34+
<li>Watch the <a href="/health-ui">/health</a> or get the <a href="/v1/health">JSON response</a>. </li>
35+
<li>Look at the <a href="/v1/metrics">/metrics</a> of the API.</li>
3636
</ul>
3737
<p><strong>Enjoy.</strong></p>
3838
<img src="/images/busy-bee.png" alt="Atari ST busy bee" />

0 commit comments

Comments
 (0)