Hello,
I have annotated my REST APIs with Swagger annotations, and it works great:
I can see their definition in Swagger UI.
However i am stuck when it comes to defining my API keys.
I have in my Bootstrap class:
Swagger swagger = new Swagger().info(info);
(...)
swagger.securityDefinition("apikey", new ApiKeyAuthDefinition("apikey",
In.HEADER));
swagger.securityDefinition("userid", new ApiKeyAuthDefinition("userid",
In.HEADER));
I can see those 2 keys when i click on the Explore button; however their
values seem to be ignored when i test my APIs from Swagger UI.
Do I need to modify something in index.html ?
I am using the latest Swagger version.
thanks
Rgds
Mat
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.