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

Couldn't generate from a schema with +1 and -1 in the same struct #60

Open
kenkoooo opened this issue Aug 31, 2022 · 0 comments
Open

Couldn't generate from a schema with +1 and -1 in the same struct #60

kenkoooo opened this issue Aug 31, 2022 · 0 comments

Comments

@kenkoooo
Copy link

Thank you so much for creating an awesome library! It helped me a lot. I found the following issue while using it.

schemafy couldn't generate a schema of GitHub webhook event payloads because of duplicated field declaration. The root cause is that the schema has fields +1 and -1 in the same struct, and schemafy converts both to _1.

schema: https://unpkg.com/@octokit/[email protected]/schema.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

1 participant