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

Fix schema shadowing issue by enums #833

Merged
merged 1 commit into from Oct 28, 2022
Merged

Fix schema shadowing issue by enums #833

merged 1 commit into from Oct 28, 2022

Conversation

deepmap-marcinr
Copy link
Contributor

This fixes #832 by creating errors upon type conflict, and allowing renaming enum types via x-go-name.

This fixes #832 by creating errors upon type conflict, and allowing
renaming enum types via `x-go-name`.
@deepmap-marcinr deepmap-marcinr merged commit a2adb9c into master Oct 28, 2022
@deepmap-marcinr deepmap-marcinr deleted the issue-832 branch October 28, 2022 21:00
adrianpk pushed a commit to foorester/oapi-codegen that referenced this pull request Jan 16, 2024
This fixes deepmap#832 by creating errors upon type conflict, and allowing
renaming enum types via `x-go-name`.

Co-authored-by: marcinromaszewicz <marcinromaszewicz@deepmap.ai>
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

Successfully merging this pull request may close these issues.

Enums can shadow components
1 participant