Open JFCote opened 7 years ago
@JFCote You can use application.conf
file for that instead: https://github.com/swagger-api/swagger-play/tree/master/play-2.6/swagger-play2#applicationconf---config-options
@jorge-sanz
Is there any way I can put the email in the contact from application.conf
? Currently I don't see any documentation for that.
@ultrasonex Me neither. I would put it in the swagger.api.info.contact
property.
One of the Swagger staff member told me that would change a lot of stuff in Swagger Core v3 including the annotations thing. 🙂
@jorge-sanz Thanks for replying ! I tried to put the contact and it shows in the swagger.json
as "contact" : { "name" : "name" },
but seems to me missed in the swagger-ui . Not sure how why it is not visible. Do you know when v3 is releasing and when will be ready for play from your source? Anyways looking forward to it.
Right now, it seems that swagger-play only partially support the core annotation @SwaggerDefinition.
If I use the annotation provided in the documentation over one of my constructor:
It will only generate this:
It seems only these fields are supported:
The more important field, called
@Info
is completely ignored and the value we see are the default values.I'm using swagger-play2 1.5.3