Skip to content

Does not compile for Golang #83

Open

Description

@pkpfr

The 2.9 version (perhaps others) does not compile for Go.

There are duplicate type declarations for TicketType and TicketTypes.

One of the duplicates needs an x-go-name attribute to allow api-codegen to be able to generate working Go code.

Activity

  1. billinghamj commented on Feb 5, 2024

    @billinghamj

    Similar error when using oapi-codegen:

    error generating code: error generating type definitions: error generating code for type definitions: duplicate typename 'TicketType' detected, can't auto-rename, please use x-go-name to specify your own name for one of them
    exit status 1
    
  2. Eclairemoy commented on Sep 18, 2024

    @Eclairemoy
    Contributor

    Hi @pkpfr and @billinghamj - we are doing an audit of the spec now and will address these issues, thank you for flagging

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