Skip to content

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

@vdayanand

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

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