openapi spec

[skip ci]
This commit is contained in:
Traines 2025-01-15 02:04:20 +00:00
parent 4c8c503e48
commit 179ada6f08
2 changed files with 2469 additions and 0 deletions

2467
docs/openapi.yaml Normal file

File diff suppressed because it is too large Load diff

View file

@ -66,6 +66,8 @@ docker run \
ghcr.io/public-transport/db-vendo-client
```
You may want to generate a client for your programming language for this REST API using the [OpenAPI schema](openapi.yaml) ([open in Swagger Editor](https://editor.swagger.io/?url=https://raw.githubusercontent.com/public-transport/db-vendo-client/refs/heads/master/docs/openapi.yaml)). Note that some profile-specific details like tickets are missing from this API definition.
There are [community-maintained TypeScript typings available as `@types/hafas-client`](https://www.npmjs.com/package/@types/hafas-client).
## Related Projects