Add documentation

main
Jonas Franz 2 years ago
parent ba700001b8
commit fd20736cff
  1. 2
      .gitignore
  2. 7
      README.md
  3. 4
      openapi.yaml

2
.gitignore vendored

@ -0,0 +1,2 @@
gen
.idea

@ -0,0 +1,7 @@
# RENFE WSMR API
This documentation contains the API documentation of the RENFE WSMR API used to get details for stations, routes, prices and user accounts.
[openapi.yaml](openapi.yaml) contains the currently reverse engineered API routes and declarations.
Please feel free to extend this documentation.

@ -95,15 +95,15 @@ components:
schemas: schemas:
GetStationsResponse: GetStationsResponse:
type: object type: object
required:
- station
properties: properties:
station: station:
required: true
type: array type: array
items: items:
$ref: '#/components/schemas/Station' $ref: '#/components/schemas/Station'
lastUpdateStations: lastUpdateStations:
type: string type: string
required: false
format: 'date-time' format: 'date-time'
example: "2022-03-01 01:06:25.034" example: "2022-03-01 01:06:25.034"
Station: Station:

Loading…
Cancel
Save