fixing reviews sample

This commit is contained in:
Daniel
2020-10-22 18:06:04 +02:00
committed by Daniel Hutzel
parent 363e9aa9a8
commit c424517770
3 changed files with 5 additions and 14 deletions

View File

@@ -1,3 +1,2 @@
cds.requires.messaging.kind = file-based-messaging
cds.odata.skipValidation = true
PORT = 5005

View File

@@ -10,7 +10,7 @@ service ReviewsService {
annotate Reviews with {
subject @mandatory;
title @mandatory;
rating @mandatory @assert.enum;
rating @assert.enum;
}
}