Skip to content

Releases: TongchengOpenSource/smart-doc

smart-doc-2.2.0

17 Jul 16:50
Compare
Choose a tag to compare

New Features

  • Add @response tag. Support custom setting response example
  • Added analysis of Character type.
  • Remove YapiBuilder .

Bug Fixes

  • Fix the comment extraction error when the parameter comment is multiple lines .
  • Fix the sample error of pushing to Torna when the interface is returned as an array
  • Fix the parsing error when using the JobDataMap type from Quartz.
  • Fix potential null pointers in the code.

smart-doc-2.1.9

17 Jul 16:39
Compare
Choose a tag to compare

New Features

  • Add multi-level generic nesting parsing support
  • Add dynamic selection of css cdn based on locale.
  • Added to push the interface sort number to torna.

Enhancement

  • Enhance the automatic recognition of Spring file download objects, and reduce the manual tag @Download tag.
  • Optimized dictionary code push. When the dictionary code is empty, no push request will be sent to torna.

Bug Fixes

  • Fix the bug that the enumeration is displayed in the parameter when inlineEnum is false.
  • Fix the bug that the value of LocalDateTime type field in the parent class generated by smart-doc is wrong when the parent class is generic.
  • Fix the bug that the @ignore tag on the class does not take effect.

smart-doc-2.1.8

17 Jul 16:27
Compare
Choose a tag to compare

New Features

  • Added to push business error codes and definition dictionaries to Torna.
  • Add @JsonProperty support, support JsonProperty.Access control field.

Enhancement

  • When @RestController annotation is added to the parent class, the subclass can be recognized and scanned by smart-doc

Bug Fixes

  • Fix the problem that some mock values are lost after pushing interface document data to Torna.
  • Fix the bug of parsing non-class names into class names when configuring class substitution in parameter comments.
  • Fix the bug that the two tasks of the maven plugin torna-rest and torna-rpc do not add the compilation prefix.
  • Fix the bug that the array type json example is wrong.
  • Fix the bug that setting field value in customRequestFields does not take effect.

smart-doc-2.1.7

17 Jul 16:18
Compare
Choose a tag to compare

Bug Fixes

  • Fix the extra question mark bug of curl command when there are no parameters
  • Fix the bug of data error after the author's information is pushed to Torna.

smart-doc-2.1.6

17 Jul 16:14
Compare
Choose a tag to compare

New Features

  • Added push author info to torna
  • Added push QueryParams parameter to torna

Bug Fixes

  • Fix the bug that the file upload object in List cannot be parsed.

smart-doc-2.1.5

17 Jul 16:08
Compare
Choose a tag to compare

New Features

  • Added push dubbo rpc interface document to Torna.

Bug Fixes

  • Fix the bug that the RequestBodyAdvice request sample is missing.

smart-doc-2.1.4

17 Jul 16:02
Compare
Choose a tag to compare

New Features

  • Added RequestBodyAdvice support

Bug Fixes

  • Fix the bug that the Mapping of the parent class is not inherited when Controller is inherited
  • Fix the problem of mandatory checking error of binding enumeration in non-json request collection.
  • Fix the bug that the type is object when the generic type is List data.
  • Fix the problem of invalid configuration when customFiled is an inherited parameter.

smart-doc-2.1.3

17 Jul 15:51
Compare
Choose a tag to compare

New Features

  • Add customRequestFields configuration item, #97.

Enhancement

  • Enhanced support for file upload .

Bug Fixes

  • Fix the bug that pathParams is missed when pushing to torna.
  • Modify debug test page to support post form request .
  • Fix the bug that the default value of the enumeration field in the form request object is wrong

smart-doc-2.1.2

17 Jul 15:45
Compare
Choose a tag to compare

Bug Fixes

  • Fix the stack overflow problem of Map nesting in some structures.
  • Fix some bugs in pushing document data to Torna.

smart-doc-2.1.1

17 Jul 15:44
Compare
Choose a tag to compare

Bug Fixes

  • Fix the stack overflow problem of Map nesting in some structures.
  • Fix some bugs in pushing document data to Torna.