You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Added defaultProtocol configuration option as fallback if no config is provided.
Collection responses now include the optional @odata.nextLink / @nextLink property in their schema, documenting server-driven paging as per the OData specification.
Changed
set odata as the service protocol if no protocol is set to match the default behavior of @sap/cds. Provide cds.env.openapi.defaultProtocol = "rest" to restore old behavior.
ER diagrams are now rendered using the yuml.me v1 API (app.yuml.me), avoiding the 'please migrate' image. The diagram and legend are displayed as clickable SVG images.
Deprecated
Removed
Fixed
@Common.Label values containing i18n placeholders (e.g. {i18n>TasksPlural}) are no longer corrupted by camelCase word-splitting in tag names
Entities that are transitively autoexposed and should still be considered readonly, do not generate documentation for write endpoints anymore
Back-reference navigation properties on child entities in compositions (the generated parent nav pointing back up) are no longer emitted in the OpenAPI read schema
Implicitly auto-exposed composition targets (annotated @cds.autoexposed by the CDS compiler) no longer generate top-level GET paths that CAP would reject with 405
OpenAPI compilation is now pure: the input CSN is no longer mutated during compilation
Services annotated with @protocol: 'rest' no longer include a /$batch path in the generated OpenAPI document