Hi!
   when i work with SwaggerUI OpenAPI 3.0, i just can't upload a file with 
it.
   I have defined content in the Yaml fil, but  the upload file button just 
don't show up. Here's my Yaml content:
   
openapi: 3.0.0
info:
  title: Sample API
  description: Optional multiline or single-line description in 
[CommonMark](http://commonmark.org/help/) or HTML.
  version: "1.2"
  
paths:
  /add:
    post:
      summary: upload a file
      description: upload a file
      requestBody:
        content: 
          multipart/form-data: # Media type
            schema: # Request payload
              type: object
              properties: # Request parts
                id: # Part 1 (string value)
                  type: string
                  format: uuid
                address: # Part2 (object)
                  type: object
                  properties:
                    street:
                      type: string
                    city:
                      type: string
                profileImage: # Part 3 (an image)
                  type: string
                  format: binary


Any idea of it? Thanks very much.

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to