Skip to content

Client methods are generated with mandatory parameters instead of varargs when default values are specified in the spec #87

Open

Description

@vdayanand

Example:

spec

paths:
  /example:
    get:
      parameters:
        - name: limit
          in: query
          required: true
          schema:
            type: integer
            default: 10

Generated:

function get_example(limit::Int)
    # Call API...
end

Expected:

function get_example(limit::Int=10)
    # Call API...
end

Activity

  1. github-actions commented on Sep 22, 2026

    @github-actions

    This issue has been automatically marked as stale because it has had no activity in the last 60 days. It will be closed in 7 days if no further activity occurs. Comment or remove the stale label to keep it open.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions