Skip to content

Support breaking out Anonymous Structs #1671

Description

@arsenetar

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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