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

Invalid JSON pointer when using model reference #2614

Open
dingyaguang117 opened this issue Jul 22, 2024 · 3 comments
Open

Invalid JSON pointer when using model reference #2614

dingyaguang117 opened this issue Jul 22, 2024 · 3 comments

Comments

@dingyaguang117
Copy link

dingyaguang117 commented Jul 22, 2024

When I switch to an API which include model reference, the model doesn't display, and got "Invalid JSON pointer".
It can display normally when the API page is the first page I visit (input the URL and press Enter).

image

When I use elements 7.6.4, I got "Error: Invalid JSON pointer" as well, but after a while, the model will display. Maybe elements 7.6.4 will re-render after reference was loaded.

Steps to Reproduce

  1. Open any API
  2. Switch to an API include model reference. This error will come.

Environments

Elements: 8.3.3

@mnaumanali94
Copy link
Contributor

@dingyaguang117 Can we get the OpenAPI + JSON Schema files with the structure you're using that cause this issue?

And just to clarify which version are you getting this error on?

@mnaumanali94
Copy link
Contributor

@dingyaguang117 Any update here?

@dingyaguang117
Copy link
Author

demo.zip

@mnaumanali94
This is the demo, Thanks!

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