Skip to content

Commit 87c60f1

Browse files
authored
Merge pull request #9 from felleslosninger/gne-beskrivelse-max-length
Increase max-length for `beskrivelse`
2 parents 3f738ca + 0999a19 commit 87c60f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

typespec/einnsyn.arkiv.models.tsp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,8 @@ namespace Mappe {
346346
*/
347347
offentligTittelSensitiv: string;
348348

349-
beskrivelse?: string;
349+
@maxLength(1000) beskrivelse?: string;
350+
350351
noekkelord?: string;
351352

352353
/**
@@ -486,7 +487,7 @@ namespace Registrering {
486487
*/
487488
offentligTittelSensitiv: string;
488489

489-
beskrivelse?: string;
490+
@maxLength(1000) beskrivelse?: string;
490491

491492
/**
492493
* The date the resource was published. This field is updated automatically, but can be set manually by admins.

0 commit comments

Comments
 (0)