Open rogpeppe opened 2 years ago
Good catch, we should change that as well as add an additional ci step that runs the validation. Only caveat is that changing "token" to "bearer" shouldn't affect what the header value is set to (the api accepts Authorization: Token abc123
, but not (maybe not always) Authorization: bearer abc123
).
commit 12c8165b70cb379486592ffbf43ac5a3dde04904
By way of sanity checking, I thought I'd run the schemas through the
swagger-cli
validator, and they don't seem to pass validation:It seems that the security schemas don't match the OpenAPI 3.1 specification (for example the
TokenAuthentation
scheme should probably be defined asscheme: bearer
as atoken
scheme doesn't seem to exist).