Skip to Content
1
Jan 02, 2021 at 01:36 PM

SAP CAP ODATA Annotations - Property Value Example

152 Views

Hi experts,

I am trying to add some annotations to my entity properties:

    @mandatory provider: String (60)
    @assert.notNull: false
    @description: 'Infrastructure provider';

I would like to add now an annotation for given a property example. Any idea how this can be done using annotation below?

@Core.Example

Many thanks!