FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Support breaking out Anonymous Structs · Issue #1671 · oapi-codegen/oapi-codegen · GitHub

Support breaking out Anonymous Structs #1671

Description

I don't think there is an option for this, but in the case of consuming a 3rd party OpenAPI spec that inlines all definitions instead of using components the go code generated contains only anonymous nested structs. It would be nice if there was a way to generate named structs instead to make interacting with the generated API code a bit nicer in these cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL