Releases: cap-js/openapi
Releases · cap-js/openapi
v1.1.2
Added
- Now supports
odata-v4
protocol in the@protocol
allowed values in CDS along withodata
andrest
.
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
Fixed
- Fixes server URL based on the version provided by
--odata-version
value.
v1.1.0
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
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
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
Changed
- UUID type elements are not going to have the property of required.
Fixed
- properties with
@mandatory
annotation is not added torequired
array.
v1.0.4
Changed
- Minor changes
v1.0.3
Changed
- Removed registering compile target
v1.0.2
Fixed
- Bug fixes
v1.0.1
Fixed
- Bug fixes