Answers for "swagger file upload example"

0

swagger file upload example

requestBody:
  content:
    multipart/form-data:
      schema:
        type: object
        properties: # Request parts
          id:
            type: string
            format: uuid
          address:
            type: object
            properties:
              street:
                type: string
              city:
                type: string
          profileImage:
            type: string
            format: base64
      encoding: # The same level as schema
        profileImage: # Property name (see above)
          contentType: image/png, image/jpeg
Posted by: Guest on March-24-2021

Code answers related to "swagger file upload example"

Browse Popular Code Answers by Language