Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: OpenAPI schema errors #98

Closed
xanderio opened this issue Sep 27, 2020 · 0 comments · Fixed by #99
Closed

API: OpenAPI schema errors #98

xanderio opened this issue Sep 27, 2020 · 0 comments · Fixed by #99
Labels
bug Something isn't working
Projects

Comments

@xanderio
Copy link
Contributor

xanderio commented Sep 27, 2020

StatusPaginate schema:

  • prev_page_url is not marked nullable
  • next_page_url is not marked nullable

Status schema:

  • links_count is send as a integer and not as a string.
  • liked field is missing entirely, there is how ever an undocumented favorited field
  • body not marked as nullable

Station schema:

  • latitude is send as a string and not as a float
  • longitude is send as a string and not as a float

TrainCheck schema:

  • delay is not marked nullable

HafasTrip:

  • polyline is missing and not marked as nullable
  • delay is not marked nullable
@xanderio xanderio added To Do bug Something isn't working labels Sep 27, 2020
HerrLevin pushed a commit that referenced this issue Sep 27, 2020
* Cast coordinates to double

 fixes #98

* fixed wrong declarations in api docs

fixes #98

* Show polyline ID in api as of api docs

fixes #98
@MrKrisKrisu MrKrisKrisu added this to Done in API Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
API
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant