Skip to content

Releases: ePages-de/restdocs-api-spec

Custom schema name

06 Feb 19:25
145ab87
Compare
Choose a tag to compare
Feature/78 control schema name (#126)

* Add ability to set request / response schema name

(cherry picked from commit 9880dd196c3077ed65319fb8cf7c6686d8d23ffd)

* Validate schemaName in ResourceSnippetTest.

* Introduce dedicated data structure for schema properties.

* Add support for custom schema names in OpenApi3Generator

* Add test which ensures that different schema names result in different schemas in OpenApi3Generator.

* Simplified expression for schema generation in OpenApi3Generator.

* Add support for custom schema names in OpenApi20Generator.

* Moved schema to ResourceSnippetParameters.

* Add @JvmStatic to Schema companion object.

* Removed unnecessary semicolons

* Fixed wildcard imports

* Fixed further lint errors.

Co-authored-by: Oleksandr Abasov <[email protected]>

spring version updates

15 Oct 17:35
Compare
Choose a tag to compare
0.9.6

Update spring version (#114)

0.9.5

16 Aug 14:51
Compare
Choose a tag to compare
  • Dependency updates
  • #106
  • New document convenience methods #104

0.9.4

20 May 19:23
Compare
Choose a tag to compare
Add signatures to publicated files for maven central sync

0.9.3

20 May 18:52
Compare
Choose a tag to compare
Lowercase basic auth scheme to avoid errors in swagger UI #100 (#101)

Fix jwt bearer auth

28 Mar 12:44
Compare
Choose a tag to compare
Loosen isJWT check. (#93)

Previously added logic for checking if a token is JWT is too strict. According
to spec: https://tools.ietf.org/html/rfc7519#section-5.1 `typ` header isn't even
required, and its value may not be "JWT". `alg` on the other hand is more
commonly used. So checking its existence is much more reliable.

Add jwt bearer auth and header examples

26 Mar 19:13
b0cea3a
Compare
Choose a tag to compare

Remove jitpack dependency and aggregate schemas in openApi2 again

11 Mar 12:02
fd7e3ba
Compare
Choose a tag to compare
Merge pull request #77 from klieber/chore/remove-jitpack-requirement

remove jitpack requirement

Go back to aggregating equal schemas in openAPI 2

25 Feb 19:26
e005360
Compare
Choose a tag to compare

With swagger-api/swagger-core#3085 and swagger-core 1.5.22 the object schema equality is fixed and we can go back to aggregate equal schemas again.

Fix OpenApi2 schema aggregation

31 Jan 10:18
Compare
Choose a tag to compare

Avoid aggregating equal schemas because of a bug in the equal implementation in the swagger-api - swagger-api/swagger-core#3085