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

gen: ogen generates empty field name for empty property name #189

Closed
tdakkota opened this issue Feb 15, 2022 · 1 comment · Fixed by #239
Closed

gen: ogen generates empty field name for empty property name #189

tdakkota opened this issue Feb 15, 2022 · 1 comment · Fixed by #239
Labels
bug Something isn't working
Milestone

Comments

@tdakkota
Copy link
Member

Generated code:

type APIV0AutocompleteGetOK struct {
     []string 
}

Schema: https://raw.githubusercontent.com/APIs-guru/openapi-directory/main/APIs/nic.at/domainfinder/1.0.0/openapi.yaml

@tdakkota tdakkota added the bug Something isn't working label Feb 15, 2022
@tdakkota tdakkota added this to the alpha milestone Feb 15, 2022
@tdakkota tdakkota changed the title gen: ogen generate empty field name for empty property name gen: ogen generates empty field name for empty property name Feb 15, 2022
@tdakkota
Copy link
Member Author

Note that now we return ErrNotImplemented (#190), however we can handle this case correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant