Skip to content

Releases: cap-js/openapi

v1.1.2

27 Jan 09:38
a33a5d9
Compare
Choose a tag to compare

Added

  • Now supports odata-v4 protocol in the @protocol allowed values in CDS along with odata and rest.

Fixed

  • Fixed the filename issue: when there is only one service in the CDL source, the OpenAPI document is now generated with the filename corresponding to the service name rather than the CDL source filename.

v1.1.1

13 Dec 06:35
Compare
Choose a tag to compare

Fixed

  • Fixes server URL based on the version provided by --odata-version value.

v1.1.0

04 Dec 07:40
Compare
Choose a tag to compare

Added

  • Now supports x-sap extensions using @OpenAPI.Extensions annotations in service, entity and function/action level.

Fixed

  • Fixed allowedValues on all primitive types.
  • Removed duplicates in tags.
  • No longer append protocol and service name information to the server URL incase of openapi:servers option.

v1.0.7

17 Oct 07:48
Compare
Choose a tag to compare

Fixed

  • Multiple protocols for a service now renders multiple openapi documents.
  • Format and type are now preserved for function parameters.

Added

  • OpenAPI documents can now have externalDocs object provided through @OpenAPI.externalDocs annotation in the service level of CDS.
  • OpenAPI documents now throws warning if securitySchemas are not found.

v1.0.6

23 Sep 11:33
Compare
Choose a tag to compare

Fixed

  • Entities annotated with @cds.autoexpose[d] but explicitly exposed in the service are now made read-write.

  • Added a wrapper properties object for primitive return types.

  • Adding protocol and service name information to the server URL incase of openapi:servers option.

v1.0.5

30 Jul 09:58
Compare
Choose a tag to compare

Changed

  • UUID type elements are not going to have the property of required.

Fixed

  • properties with @mandatory annotation is not added to required array.

v1.0.4

14 May 08:50
674db4a
Compare
Choose a tag to compare

Changed

  • Minor changes

v1.0.3

14 May 06:15
2c27e19
Compare
Choose a tag to compare

Changed

  • Removed registering compile target

v1.0.2

02 May 10:59
Compare
Choose a tag to compare

Fixed

  • Bug fixes

v1.0.1

02 May 09:49
eac0e99
Compare
Choose a tag to compare

Fixed

  • Bug fixes