You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6066d3c
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: openapi/ojp1.0/openapi.template.yaml
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
-
openapi: 3.0.3
1
+
openapi: "3.0.3"
2
2
info:
3
-
title: Swiss OJP 1.0 OpenAPI explorer
4
-
version: '1.1'
3
+
title: "Swiss OJP 1.0 OpenAPI explorer"
4
+
version: "1.1"
5
5
description: |
6
6
This swagger introduces the list of provided services the Swiss OJP 1.0 service. The interface follows the CEN standard interface OJP (Open API for distributed Journey Planning).
7
7
Keys for the API can be issued in our API manager https://api-manager.opentransportdata.swiss/.
8
8
9
-
You can alter the different examples provided. Some parts are commented out. You need to make them valid again, in order to get a useful response (e.g. set it to the current date or time)
9
+
You can alter the different examples provided. Some parts are commented out. You need to make them valid again, in order to get a useful response (e.g. set it to the current date or time).
10
10
11
11
We offer currently tests for the following services:
12
12
- OJPLocationRequest: LIR
13
13
- OJPStopEventRequest: SER
14
14
- OJPTripRequest: TR
15
15
- OJPTripInfoRequest: TIR
16
16
externalDocs:
17
-
description: OJP documentation
17
+
description: "OJP documentation"
18
18
url: https://transmodel-cen.eu/index.php/ojp/
19
19
servers:
20
20
- url: https://api.opentransportdata.swiss
@@ -29,9 +29,9 @@ security:
29
29
paths:
30
30
/ojp2020:
31
31
post:
32
-
summary: OJP 1.0 acccess
33
-
operationId: OJP1.0
34
-
description: OJP is a traditional API, where the operation definitions is done in body of the post request
32
+
summary: "OJP 1.0 acccess"
33
+
operationId: "OJP1.0"
34
+
description: "OJP is a traditional API, where the operation definitions is done in body of the post request"
35
35
requestBody:
36
36
required: true
37
37
content:
@@ -43,8 +43,8 @@ paths:
43
43
wrapped: true
44
44
examples:
45
45
exampleLIR:
46
-
summary: LIR - Simple
47
-
description: Simple OJPLocationInformationtRequest for Bern
46
+
summary: "LIR - Simple"
47
+
description: "Simple OJPLocationInformationtRequest for Bern"
0 commit comments