ScaCap / spring-auto-restdocs

Spring Auto REST Docs is an extension to Spring REST Docs
https://scacap.github.io/spring-auto-restdocs/
Apache License 2.0
311 stars 86 forks source link

Comment with only tag are wrong with spring-auto-restdocs-json-doclet-jdk9 #452

Closed christophejan closed 3 years ago

christophejan commented 3 years ago

Comment with only tag are wrong with spring-auto-restdocs-json-doclet-jdk9.

Sample :

/**
 * @title Title tag
 */

Result with spring-auto-restdocs-json-doclet :

{
  "comment": "",
  "parameters": {},
  "tags": {
    "title": "Title tag"
}

Current result with spring-auto-restdocs-json-doclet-jdk9 :

{
  "comment": "@title Title tag",
  "parameters": {},
  "tags": {
    "title": "Title tag"
}