Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Releases: victools/jsonschema-module-swagger-1.5

4.7.0 – Compatibility Declaration

20 Mar 21:10
Compare
Choose a tag to compare

No feature changes, just bumping of minor version to indicate compatibility with jsonschema-generator version 4.7+

4.4.0 – Compatibility Declaration

03 Mar 16:16
Compare
Choose a tag to compare

No feature changes, just bumping of minor version to indicate compatibility with jsonschema-generator version 4.4+

4.0.0 – Context-independent title/description look-up

03 Jan 13:27
Compare
Choose a tag to compare

Changed

  • Look-up titles and descriptions from @ApiModel via new forTypesInGeneral() API

BEWARE: The forTypesInGeneral() API was only added to the main generator library in version 4.0.0.

3.1.0 – Populate "title" from @ApiModel

29 Nov 23:37
Compare
Choose a tag to compare

Added

  • Optionally provide a field/method's "title" as per @ApiModel(value = ...)
  • Allow to ignore the general @ApiModel(description = ...) when populating a field/method's "description"

3.0.0 – Initial Release

15 Jun 08:30
Compare
Choose a tag to compare

Added

  • Optionally override a field's property name with @ApiModelProperty(name = ...)
  • Optionally ignore a field/method if @ApiModelProperty(hidden = true)
  • Provide a field/method's "description" as per @ApiModelProperty(value = ...) or @ApiModel(description = ...)
  • Indicate a number's (field/method) "minimum" (inclusive) according to @ApiModelProperty(allowableValues = "range[...")
  • Indicate a number's (field/method) "exclusiveMinimum" according to @ApiModelProperty(allowableValues = "range(...")
  • Indicate a number's (field/method) "maximum" (inclusive) according to @ApiModelProperty(allowableValues = "range...]")
  • Indicate a number's (field/method) "exclusiveMaximum" according to @ApiModelProperty(allowableValues = "range...)")
  • Indicate a field/method's "const"/"enum" as @ApiModelProperty(allowableValues = ...) (if it is not a numeric range declaration)
  • Consider the @ApiModelProperty annotation on a getter method also for its field
  • Consider the @ApiModelProperty annotation on a field also for its getter method