rest-schemagen
rest-schemagen copied to clipboard
Jersey add-on for dynamic link and schema building
In `LinkCreator.createFor` (line 133) the schema is only generated for the last resource on the path, information from previous resources is ignored.
In order to set the allowed values independent of the current value used in the returned link, the `Parameter` class should have a field `currentValue` which is returned in the...
For the JSON-type boolean, always a default value is generated in the schema, see `com.mercateo.common.rest.schemagen.json.mapper.BooleanJsonPropertyMapper` This is not the case for Integer `com.mercateo.common.rest.schemagen.json.mapper.IntegerJsonPropertyMapper` Unfortunately this not always correct. In the...
https://github.com/Mercateo/rest-schemagen/blob/8795d51f120451ca9ac00c3f607b184073a87bda/src/main/java/com/mercateo/common/rest/schemagen/link/LinkCreator.java#L220
When creating a Link for a Response, query parameters are not encoded correctly. Easiest way to reproduce: try to pass some Json `{"key": "value"}` as a query parameter value. ```java...
Currently, the schema generator only supports public fields when determining the object schema. This behaviour should be expanded to public getter methods.
Update dependencies & plugings for Java 17 & SpringBoot 3.0 compatibility Changes: - Parent POM: com.mercateo.oss.oss-parent-pom 0.9.0 > 1.0.9 - maven-compiler changed Java 17 release - release-sign-artifacts step maven-gpg-plugin 1.6...
Bumps [json](https://github.com/douglascrockford/JSON-java) from 20220320 to 20230227. Release notes Sourced from json's releases. 20230227 Pull Request Description #723 Protect JSONML from stack overflow exceptions caused by recursion #720 Limit the XML...