Skip to content

Commit 4921248

Browse files
authored
Merge branch 'main' into cds-export
2 parents 8e3d001 + 9eaa549 commit 4921248

24 files changed

Lines changed: 371 additions & 300 deletions

File tree

.vitepress/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ config.rewrites = rewrites
106106
// Add custom capire info to the theme config
107107
config.themeConfig.capire = {
108108
versions: {
109-
java_services: '4.5.0',
109+
java_services: '4.5.1',
110110
java_cds4j: '4.5.0'
111111
},
112112
gotoLinks: []
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
22
<Badge
3-
type="warning"
4-
text="alpha"
3+
type="danger"
4+
text="Alpha"
55
title="Alpha features are experimental. They may never be generally available. If released subsequently, the APIs and behavior might change."
6+
onclick="location = '../get-started/learning-sources#feature-status-badges'" style="cursor: pointer"
67
/>
78
</template>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
22
<Badge
33
type="warning"
4-
text="beta"
4+
text="Beta"
55
title="Beta features are planned to be generally available in subsequent releases, however, APIs and their behavior are not final and may change in the general release."
6+
onclick="location = '../get-started/learning-sources#feature-status-badges'" style="cursor: pointer"
67
/>
78
</template>
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<template>
22
<Badge
3-
type="warning"
4-
text="concept"
3+
type="info"
4+
text="Concept"
55
title="Concept features are ideas for potential future enhancements and an opportunity for you to give feedback. This is not a commitment to implement the feature though."
6+
onclick="location = '../get-started/learning-sources#feature-status-badges'" style="cursor: pointer"
67
/>
78
</template>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<template>
2+
<Badge
3+
type="tip"
4+
text="Gamma"
5+
title="Gamma features are finalized and ready to use, stable, and supported long term. Yet, as they have a broad scope and range, you should ensure to test them thoroughly."
6+
onclick="location = '../get-started/learning-sources#feature-status-badges'" style="cursor: pointer"
7+
/>
8+
</template>

.vitepress/theme/components/Since.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<template>
2-
<Badge type="info" :text="`since ${of} ${version}`" :title="`This feature is only available as of ${of} version ${version} or higher.`" />
2+
<Badge
3+
type="tip"
4+
:text="`Since ${of} ${version}`"
5+
:title="`This feature is only available as of ${of} version ${version} or higher.`"
6+
/>
37
</template>
48

59
<script setup lang="ts">

.vitepress/theme/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import IndexList from './components/IndexList.vue';
55
import ImplVariantsHint from './components/implvariants/ImpVariantsHint.vue';
66
import Alpha from './components/Alpha.vue';
77
import Beta from './components/Beta.vue';
8+
import Gamma from './components/Gamma.vue';
89
import Concept from './components/Concept.vue'
910
import Since from './components/Since.vue';
1011
import UnderConstruction from './components/UnderConstruction.vue';
@@ -27,6 +28,7 @@ export default {
2728
ctx.app.component('ImplVariantsHint', ImplVariantsHint)
2829
ctx.app.component('Alpha', Alpha)
2930
ctx.app.component('Beta', Beta)
31+
ctx.app.component('Gamma', Gamma)
3032
ctx.app.component('Concept', Concept)
3133
ctx.app.component('Since', Since)
3234
ctx.app.component('UnderConstruction', UnderConstruction)

.vitepress/theme/styles.scss

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,19 @@ a.learn-more, p.learn-more, .learn-more {
535535
}
536536
}
537537

538-
.VPBadge { white-space: nowrap; }
538+
.VPBadge {
539+
&.tip {
540+
background-color: #ced; color: #031; .dark & {
541+
background-color: #031; color: #9ca;
542+
}
543+
}
544+
margin-top: 3px !important;
545+
padding: 0 0.7em !important;
546+
font-size: 80%;
547+
line-height: 1.5em;
548+
border-radius: 1.5em;
549+
white-space: nowrap;
550+
}
539551

540552
html.java {
541553
& .node {

advanced/publishing-apis/openapi.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,15 @@ See [Frequently Asked Questions](#faq) for examples on how to use these annotati
9797
| `Description` | Action, ActionImport, Function, FunctionImport | `summary` of Operation Object |
9898
| `Description` | EntitySet, Singleton | `description` of Tag Object |
9999
| `Description` | EntityType | `title` of Request Body Object |
100-
| `Description` | ComplexType, EntityType, EnumerationType, Parameter, Property, TypeDefinition | `title` of Schema Object |
100+
| `Description` | ComplexType, EntityType, EnumerationType, TypeDefinition | `title` of Schema Object |
101+
| `Description` | Parameter | `description` of Parameter Object (fallback if `LongDescription` not present) |
102+
| `Description` | Property | `description` of Schema Object (fallback if `LongDescription` not present) |
101103
| `Description` | Schema, EntityContainer | `info.title` |
102104
| `Example` | Property | `example` of Schema Object |
103105
| `Immutable` | Property | omit from Update structure |
104106
| `LongDescription` | Action, ActionImport, Function, FunctionImport | `description` of Operation Object |
107+
| `LongDescription` | Parameter | `description` of Parameter Object |
108+
| `LongDescription` | Property | `description` of Schema Object |
105109
| `LongDescription` | Schema, EntityContainer | `info.description` |
106110
| `Permissions:Read` | Property | omit read-only properties from Create and Update structures |
107111
| `SchemaVersion` | Schema | `info.version` |

cds/types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ These types are used to define the structure of entities and services, and are m
4141
| `Timestamp` | _µs_ precision, with up to 7 fractional digits | _TIMESTAMP_ |
4242
| `String` (`length`) | Default *length*: 255; on HANA: 5000 <sup>(4)(5)</sup> | _NVARCHAR_ |
4343
| `Binary` (`length`) | Default *length*: 255; on HANA: 5000 <sup>(4)(6)</sup> | _VARBINARY_ |
44-
| `LargeBinary` | Unlimited data, usually streamed at runtime | _BLOB_ |
44+
| `LargeBinary` | Unlimited data, usually streamed at runtime<br/>[Prefer using Attachments plugin for large files](../plugins/index.md#attachments) | _BLOB_ |
4545
| `LargeString` | Unlimited data, usually streamed at runtime | _NCLOB_ |
4646
| `Map` | Mapped to *NCLOB* for HANA. | *JSON* type |
4747
| `Vector` (`dimension `) | Requires SAP HANA Cloud QRC 1/2024, or later | _REAL_VECTOR_ |

0 commit comments

Comments
 (0)