openmobilityfoundation / cds-openapi

OpenAPI schema for CDS data feeds, managed by the Open Mobility Foundation. The versions are organized by folders.
Other
4 stars 0 forks source link

Implement 501 status code #2

Open schnuerle opened 1 year ago

schnuerle commented 1 year ago

From @michael-danko-passport

I have been looking for any documentation around the standard API responses and relevant status codes. I know the spec calls out a 501 - Not Implemented for some APIs but if there's some detailed documentation about this I may have overlooked, it should not be hard to also include within the OpenAPI spec. As a result of not finding this documentation, all of the API responses are a work in progress. We can easily apply them to each endpoint if they're structured similarly since these would be shared models.

michael-danko-passport commented 1 year ago

I made sure all of the optional endpoints were documented in https://github.com/openmobilityfoundation/cds-openapi/pull/13 but there are no details around how this is defined.