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

Error "Missing JSON schema type at..." #25

Open
ht47638 opened this issue Dec 4, 2023 · 1 comment
Open

Error "Missing JSON schema type at..." #25

ht47638 opened this issue Dec 4, 2023 · 1 comment

Comments

@ht47638
Copy link

ht47638 commented Dec 4, 2023

Hello,

I tried to import the OpenApi schema from Shipcloud, a parcel shipping provider. I got an error message running the importer:

EJSchemaReaderException: Missing JSON schema type at $.paths./addresses.post.responses.200.content.application/json.schema

The schema is attached. Any ideas whats going wrong ?

Best regards,

ht
shipcloud.json

@wlandgraf
Copy link
Contributor

The mentioned JSON path has an allOf construction in JSON schema. That is not supported for now. It looks like all allOf references are just a single one, so you can manually remove them and just keep the references directly and then import the JSON.

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

No branches or pull requests

2 participants