SAP / abap-file-formats

File formats that define and specify the file representation for ABAP development objects
MIT License
58 stars 56 forks source link

Maintaining JSON schemas #37

Closed larshp closed 3 years ago

larshp commented 3 years ago

Personally I find it difficult to manually maintain JSON schemas, there will also be some reuse between definitions(eg the language field), so I like to define this semantically instead of manually editing the schemas.

To solve this I like to maintain json schemas as TypeScript, and then use https://github.com/vega/ts-json-schema-generator to generate the JSON schemas.

I can try making a small example?

albertmink commented 3 years ago

Sure. Maybe for an ABAP object for which there is already an ABAP file formats definition. I think, there are already some tooling available for ABAP types to JSON.

larshp commented 3 years ago

closing, see https://github.com/SAP/abap-file-formats/issues/55 instead