This repository has been archived by the owner on Mar 30, 2020. It is now read-only.
Releases: victools/jsonschema-module-swagger-1.5
Releases · victools/jsonschema-module-swagger-1.5
4.7.0 – Compatibility Declaration
No feature changes, just bumping of minor version to indicate compatibility with jsonschema-generator
version 4.7+
4.4.0 – Compatibility Declaration
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
Changed
- Look-up titles and descriptions from
@ApiModel
via newforTypesInGeneral()
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
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
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