Skip to content

Support "in: formData" parameters #81

@diamondburned

Description

@diamondburned

goapi-gen currently errors out with an "in": "formData" parameter:

        "consumes": [
          "multipart/form-data"
        ],
        "parameters": [
          {
            "in": "formData",
            "name": "content",
            "type": "file",
            "description": "The content of the file.",
            "required": true
          }
        ],

yields the error

error: could not generate code: error creating operation definitions: error describing global parameters for POST//assets: error generating type for param (content): parameter 'content' has no schema or content

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