Closed osivinyuk closed 10 months ago
SwaggerHandler
is a part of internal implementation of Swagger plugin that is an enhancement built on top of the OpenApi plugin. If you don't really care about the whole OpenApi impl, you can simply copy the template:
and adjust it to your needs. Anyway, I'll move loadVersions
to constructor, so you can specify your own list here.
Hello I am using this and its not working app.get("swagger/core", new SwaggerHandler(MIDDLEWARE_CORE, "/openapi/core", "5.9.0", "", "", "", ""alpha"", ""alpha"", Collections.emptyList(), Collections.emptyList()), AppRole.ANYONE);
in your code
we have empty result
OpenApiLoader() .loadVersions()
I am using last version of javalin.
With version 5.1.4 it was working with init string app.get("swagger/core", new SwaggerHandler(MIDDLEWARE_CORE, "/openapi/core", "4.15.0", null, ""), AppRole.ANYONE);
we are using this swagger libs:
Could you support old SwaggerHandler constructor for our issue? Thank you