Page 1 of 1

Generating self-contained schemas

Posted: Wed Feb 09, 2022 8:12 am
by carlosgil
Hello.
I'd like to have the option to flatten:
- JSON schemas
- OAS specifications (OpenAPIs)
- AsyncAPIs
In other words, similarly to what you do with XSDs: embedding the external references into a self-contained file.
Thanks and best regards, Carlos Gil

Re: Generating self-contained schemas

Posted: Thu Feb 10, 2022 1:35 pm
by florin_nica
Hi Carlos,

Thank you again for your feedback. Indeed, it would be a very nice feature. We have an issue related to this topic (for JSON Schema, specifically) and I mentioned your request right there. I will keep you up to date with its status.

Regards,
Florin

Re: Generating self-contained schemas

Posted: Tue Jan 17, 2023 11:54 am
by carlosgil
Hello.

Would you have any update on this topic?
Thanks - Carlos

Re: Generating self-contained schemas

Posted: Tue Jan 17, 2023 12:31 pm
by florin_nica
Hi Carlos,

Actually, we have just started the development of this feature, for JSON schemas. Most likely, it will be available in the 25.1 version of Oxygen XML Editor, that is scheduled for release in March. I'll let you know when it's done.

Regards,
Florin

Re: Generating self-contained schemas

Posted: Tue Jan 31, 2023 1:41 pm
by Oscar58
Well, we'll wait for the update. Anyway, thanks to you for your work.

Re: Generating self-contained schemas

Posted: Thu Mar 16, 2023 7:08 pm
by teo
Hi Carlos,

Some news about your feature request.
The "Flatten Schema" action is now available for JSON Schema documents in the context menus of Text and Design modes.
That starts with version 25.1 of the Oxygen suite, which has just been released.
Follow the link below for more details:
https://www.oxygenxml.com/doc/versions/ ... atten.html

Regards,
Teo