Skip to content

Commit c0be9e4

Browse files
Removed requirements for language field (#310)
Co-authored-by: Albert Mink <[email protected]>
1 parent c15a8b1 commit c0be9e4

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/zcl_aff_writer_json_schema.clas.abap

-2
Original file line numberDiff line numberDiff line change
@@ -1043,8 +1043,6 @@ CLASS zcl_aff_writer_json_schema IMPLEMENTATION.
10431043

10441044
METHOD handle_language_field.
10451045
write_tag( `"minLength": 2,` ).
1046-
write_tag( `"maxLength": 2,` ).
1047-
write_tag( `"pattern": "^[a-z]+$",` ).
10481046
ENDMETHOD.
10491047

10501048

src/zcl_aff_writer_json_schema.clas.testclasses.abap

+2-6
Original file line numberDiff line numberDiff line change
@@ -610,9 +610,7 @@ CLASS ltcl_json_writer_abap_doc IMPLEMENTATION.
610610
( ` "title": "Original Language",` )
611611
( ` "description": "Original language of the ABAP object",` )
612612
( ` "type": "string",` )
613-
( ` "minLength": 2,` )
614-
( ` "maxLength": 2,` )
615-
( ` "pattern": "^[a-z]+$"` )
613+
( ` "minLength": 2` )
616614
( ` }` )
617615
( ` },` )
618616
( ` "additionalProperties": false` )
@@ -1249,9 +1247,7 @@ CLASS ltcl_json_writer_abap_doc IMPLEMENTATION.
12491247
( ` "title": "Original Language",` )
12501248
( ` "description": "Original language of the ABAP object",` )
12511249
( ` "type": "string",` )
1252-
( ` "minLength": 2,` )
1253-
( ` "maxLength": 2,` )
1254-
( ` "pattern": "^[a-z]+$"` )
1250+
( ` "minLength": 2` )
12551251
( ` },` )
12561252
( ` "abapLanguageVersion": {` )
12571253
( ` "title": "ABAP Language Version",` )

0 commit comments

Comments
 (0)