Closed plk closed 5 years ago
This was a silly bug: M::P::OpenAPI did not extract "basePath" from "servers".
There might be a new bug in the future that wants to support multiple base paths, but I'll fix it when someone asks for it then, since it's not trivial to do tonight.
Looks much better now.
Does Mojolicious::Plugin::OpenAPI::Security
support securitySchemes
in v3 or only securitydefinitions
in v2?
The Security plugin only works with v2 - for now.
PR is welcome! :)
Apologies if I have missed something obvious here but I can't get v3 to work at all due to content negotiation errors even in the most basic form. I am using 2.12 DEV and the latest
JSON::Validator
. The following example gives 500 errors for me regardless of whatAccept
header I pass. In the real use case, it's "*/*" as that's what Swagger UI sends.