Open shmersy opened 7 years ago
Read (the full) https://github.com/swagger-api/swagger-core/issues/960 ticket.
I am sorry, I have read the ticket but it does not respond to my question...
let me simplify my question again :
I have this xsd :
If you're not using swagger-core directly, then open the ticket on the project that generates your spec. Swagger-core does not work at compile time, and other tools utilize parts of it to do so, but it's their responsibility to make sure the processing is done correctly. If they think there's an issue with swagger-core, they will (and have) open a ticket here.
This is more like a question than an ticket :) as I don't find much doc on the net but ok I will. Thanks anyway
I am also generating the model using jaxb2-maven-plugin for spring boot application. The swagger documentation generated for the model class has the below. I would like add a description and remove the bold text. Any help will be appreciated.
decision string xml: OrderedMap { "name": "decision", "attribute": false, "wrapped": false } xml: name: decision attribute: false wrapped: false
Hi all ... I would like to ask if its possible to hide this "xml:" stuff completely? I don't see any necessary information there.
Hi, In my project I generate java dto from xsd thanks to maven-jaxb2-plugin.
example of generated dto :
@XmlRootElement(name = "createItem") public class CreateItem {
}
I generate a swagger documentation but the description remains empty. I'm looking for a solution to add description to swagger documentation.
In a static java dto I would simply add @ApiModelProperty and it works but since my java calsses are generated by jaxb if I add @ApiModelProperty it will be deleted.
Can Jaxb generate swagger annotations?
Can you please help? Another solution is more than welcome...