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

add x-enum-varnames support to chaotic #710

Open
segoon opened this issue Oct 8, 2024 · 0 comments
Open

add x-enum-varnames support to chaotic #710

segoon opened this issue Oct 8, 2024 · 0 comments

Comments

@segoon
Copy link
Collaborator

segoon commented Oct 8, 2024

https://github.com/userver-framework/userver/blob/develop/chaotic/chaotic/back/cpp/types.py#L520 вот тут нужно сделать из списка интов список структур (инт, имя)
https://github.com/userver-framework/userver/blob/develop/chaotic/chaotic/back/cpp/translator.py#L265 где-то тут нужно распарсить x-enum-varnames
https://github.com/userver-framework/userver/blob/develop/chaotic/chaotic/back/cpp/types.py#L520 где-то тут нужно прописать KNOWN_X_PROPERTIES чтобы на них не ругался валидатор

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