Skip to content

fixed binary attachments generation from comments. resolves #1933#2149

Open
khaliullov wants to merge 1 commit intoswaggo:v2from
khaliullov:v2_1933_fix_binary_attachments
Open

fixed binary attachments generation from comments. resolves #1933#2149
khaliullov wants to merge 1 commit intoswaggo:v2from
khaliullov:v2_1933_fix_binary_attachments

Conversation

@khaliullov
Copy link
Copy Markdown

Describe the PR
problems is well described in #1933

now --v3.1 will generate from comments like

// @Accept	 multipart/form-data
// @Param        data formData file true "Module package .zip file"

following swagger:

    post:
      description: Upload a module package ZIP file.
      requestBody:
        content:
          multipart/form-data:
            schema:
              properties:
                data:
                  format: binary
                  type: file
              type: object
        description: Module package .zip file
        required: true

Relation issue
Issue #1933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant