Skip to content

Duplicate Paramater #84

Open
Open

Description

@pkpfr

/tickets/{ticket_id}/reply in v2.9 (possibly others) has a duplicate paramater:

"/tickets/{ticket_id}/reply":
    parameters:
    - name: ticket_id
      in: path
      description: ticket_id
      required: true
      schema:
        type: string
    post:
      summary: Create a ticket reply
      parameters:
      - name: Intercom-Version
        in: header
        schema:
          "$ref": "#/components/schemas/intercom_version"
      - name: ticket_id
        in: path
        required: true
        description: The unique identifier for the ticket which is given by Intercom
        schema:
          type: string

The first parameters block is redundant and caused generation of code for Go to fail.

error generating code: error creating operation definitions: path '/tickets/{ticket_id}/reply' has 1 positional parameters, but spec has 2 declared

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