Skip to content

Releases: ePages-de/restdocs-api-spec

Fix manually specified response schema names for same request, in OpenAPI 3

28 May 08:48
373c924

Choose a tag to compare

Thanks to @WonSik36 reporting #173 and fixing it with #174 !

OpenAPI 3 generator

Before, when manually specifying the schemata for responses with different content types, for the same request (same path, method and response status code), only the first schema name would have been referenced for all responses. This is now fixed to use the correct schema reference/name for the respective response.

Auto-generated schemata and schema names were unaffected.

Fix schema of path parameters in OpenAPI 3

09 Apr 09:18
08a4649

Choose a tag to compare

Before, all path parameters were considered type string in the generated OpenAPI 3 spec.
Now, the actual type from the Spring Restdocs ParameterDescriptor is taken into account, see #168 and #171 for details.

Thanks to @alexisparis for the report!

Publish to Maven Central

17 Mar 10:49

Choose a tag to compare

  • Publish to Maven Central instead of Bintray
  • Maintenance release without behavior changes

Fix JSON Schema for required properties of type 'object'

12 Mar 13:31
e4e3751

Choose a tag to compare

Publish gradle plugin

19 Jan 15:28

Choose a tag to compare

3rd attempt with proper configuration of Gradle plugins portal credentials via environment variables (for TravisCI).

Publish gradle plugin, 2nd attempt

19 Jan 13:53

Choose a tag to compare

...with slightly changed TravisCI config.

Publish gradle plugin

19 Jan 13:14

Choose a tag to compare

No changes, just a separate tag/release to test publishing to gradle plugins portal.

Special thanks to @chadlwilson for providing the PR + lots of patience!

Deterministic snippet names and content-type parameters

16 Sep 16:44
17576a4

Choose a tag to compare

  • If multiple examples for the same request (same HTTP method, path and content type) are provided, the common snippet ID is now generated in a deterministic fashion, see #141 for details
  • Add support for content-type parameters thanks to @CalamarBicefalo , see #142

Bump swagger-core version to fix YAML serialization of HTTP response status codes

15 Jul 09:27

Choose a tag to compare

Fix OpenAPI 2.0 + 3.0 generation considering application/x-www-form-urlencoded request bodies

25 May 16:49

Choose a tag to compare

Thanks to @afronski fixing #113 , restdocs-api-spec now properly supports application/x-www-form-urlencoded request bodies: