Swirrl / datahost-prototypes

Eclipse Public License 1.0
0 stars 0 forks source link

Routes that redirect should specify the redirect in the openapi schema #358

Open RickMoynihan opened 7 months ago

RickMoynihan commented 7 months ago

For example this area is quite sparse in the swagger doc:

Screenshot 2024-02-01 at 14 09 48

Ideally we should model a RedirectResponseobject in the swagger spec associated with a 302, that [response object]() should then specify a location header of type string.