I'm using swagger to generate my java rest interface doc.

But when use @ApiOperation annotation。If my "value" attribute content has 
"_" character, rately the character will be transfer to html tag like 
<strong> or <em>。

By primary analysis, I find that transfer could be like these:

   1.  when the "_" character's amount is uneven, it will be transfer to 
   tag <em>.
   2.  when the "_" character's amount is even, it will be transfer to tag 
   <strong>.

To defend this occasionly appearance,I use five "_" char to correctly 
display the character. Below is my interface capture:

Hopefully we can fix this display problem as soon.

The swagger maven location is:

<dependency>
   <groupId>io.springfox</groupId>
   <artifactId>springfox-swagger2</artifactId>
   <version>2.7.0</version>
</dependency>
<dependency>
   <groupId>io.springfox</groupId>
   <artifactId>springfox-swagger-ui</artifactId>
   <version>2.7.0</version>
</dependency>



<https://lh3.googleusercontent.com/-BmC5i9oMO9A/WnA1pqnt88I/AAAAAAAAACQ/zapOUut6LNY9GAB-_MIAYc22VACUyOWFQCLcBGAs/s1600/inter.png>

-- 
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.

Reply via email to