OpenRailAssociation / osrd

An open source web application for railway infrastructure design, capacity analysis, timetabling and simulation
https://osrd.fr
443 stars 40 forks source link

Add Swagger UI for our REST APIs #7873

Closed emersion closed 2 months ago

emersion commented 3 months ago

Who would benefit from this feature?

Developers

What is this feature about?

It would be neat to add a Swagger UI to the osrd.fr website with our REST APIs.

The Swagger UI looks like the right hand side of this page: https://editor.swagger.io/

Why is this feature valuable?

Would make it easier to explore the API schema and understand the data formats it accepts/returns.

Anything else people should know?

No response

emersion commented 2 months ago

Done in https://github.com/OpenRailAssociation/osrd-website/pull/213