Skip to content

Commit 49d146f

Browse files
Fix Swagger title
Fix Swagger base url
1 parent 89cf127 commit 49d146f

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

src/main/webapp/doc/api-doc.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,16 @@ info:
77
To Authorize you can use API token that you can create in Aquality Tracking Administration
88
- As user name you should use `project:{your project id}`
99
- As password you should use API token
10-
version: '0.3.8'
11-
title: 'Aquality Tracker - API documentation'
10+
version: '0.3.10'
11+
title: 'Aquality Tracking - API documentation'
1212

1313
servers:
14-
- url: http://localhost:8080/api
15-
- url: http://localhost:8888/api
14+
- url: 'http://localhost:8080/api'
15+
- url: 'http://localhost:8888/api'
16+
- url: '{customURL}/api'
17+
variables:
18+
customURL:
19+
default: 'http://localhost:8080'
1620

1721
components:
1822
securitySchemes:

src/main/webapp/doc/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<title>Report Portal - API documentation</title>
5+
<title>Aquality Tracking - API documentation</title>
66
<link rel="icon" type="image/png" href="./doc/favicon.png" sizes="32x32" />
77
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700">
88
<link rel="stylesheet" href="//unpkg.com/swagger-ui-dist@latest/swagger-ui.css">

0 commit comments

Comments
 (0)