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

SampleJsonSchemaGenerator created an unnecessary\wrong references #1586

Open
barnuri opened this issue Jan 22, 2023 · 2 comments
Open

SampleJsonSchemaGenerator created an unnecessary\wrong references #1586

barnuri opened this issue Jan 22, 2023 · 2 comments

Comments

@barnuri
Copy link

barnuri commented Jan 22, 2023

SampleJsonSchemaGenerator created an unnecessary\wrong references
make a flag that creating a schema without references
Proposal flag name, bool standalone = false

barnuri added a commit to barnuri/NJsonSchema that referenced this issue Jan 22, 2023
@amolkalekar
Copy link

We are also facing same issue... mainly its giving wrong ref to empty objects in JSON. Ref to all empty object is always pointing to first child object.

@Thiago-Dantas
Copy link

We are also facing same issue... mainly its giving wrong ref to empty objects in JSON. Ref to all empty object is always pointing to first child object.

just fell into this as well, an empty object with an object points to the top level object making a loop

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

3 participants