Skip to content

Commit

Permalink
Removed requirements for language field
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus1812 committed Apr 9, 2024
1 parent 8f38594 commit a87360c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/zcl_aff_writer_json_schema.clas.abap
Original file line number Diff line number Diff line change
Expand Up @@ -1043,8 +1043,6 @@ CLASS zcl_aff_writer_json_schema IMPLEMENTATION.

METHOD handle_language_field.
write_tag( `"minLength": 2,` ).
write_tag( `"maxLength": 2,` ).
write_tag( `"pattern": "^[a-z]+$",` ).
ENDMETHOD.


Expand Down
8 changes: 2 additions & 6 deletions src/zcl_aff_writer_json_schema.clas.testclasses.abap
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,7 @@ CLASS ltcl_json_writer_abap_doc IMPLEMENTATION.
( ` "title": "Original Language",` )
( ` "description": "Original language of the ABAP object",` )
( ` "type": "string",` )
( ` "minLength": 2,` )
( ` "maxLength": 2,` )
( ` "pattern": "^[a-z]+$"` )
( ` "minLength": 2` )
( ` }` )
( ` },` )
( ` "additionalProperties": false` )
Expand Down Expand Up @@ -1249,9 +1247,7 @@ CLASS ltcl_json_writer_abap_doc IMPLEMENTATION.
( ` "title": "Original Language",` )
( ` "description": "Original language of the ABAP object",` )
( ` "type": "string",` )
( ` "minLength": 2,` )
( ` "maxLength": 2,` )
( ` "pattern": "^[a-z]+$"` )
( ` "minLength": 2` )
( ` },` )
( ` "abapLanguageVersion": {` )
( ` "title": "ABAP Language Version",` )
Expand Down

0 comments on commit a87360c

Please sign in to comment.