Skip to content

Duplicate Paramater #84

@pkpfr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions