Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing JSON schema ends in not expected result #1069

Open
vvmruder opened this issue Aug 8, 2024 · 3 comments
Open

Parsing JSON schema ends in not expected result #1069

vvmruder opened this issue Aug 8, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@vvmruder
Copy link

vvmruder commented Aug 8, 2024

Hi and thank you for this genious library. I play around with it for a while mostly with XML and it is a solid piece of code 🪨

However lately I got a JSON schema which I wanted to play araound with and got unexpected output.

pygeoapi-config-0.x.json
pygeoapi.zip

For some reason all Properties are combined in one class and linked everywhere since properties are defined for almost every definition.

It is perfectly possible that I did something wrong but I don't know what.

The command I used to generate the classes was:

xsdata generate -p server /tmp/pygeoapi-config-0.x.json

I would expect that each properties section is handled as actually properties of the element. I found also #684 and was expecting it was solved.

Am I missing something here?

@tefra
Copy link
Owner

tefra commented Aug 10, 2024

xsdata doesn't support json schemas @vvmruder

@tefra tefra added the enhancement New feature or request label Aug 17, 2024
@vvmruder
Copy link
Author

vvmruder commented Aug 30, 2024

Thank you @tefra. Are there any future developments planned for that?

@tefra
Copy link
Owner

tefra commented Sep 1, 2024

Things are kinda slow lately, idk maybe :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants