Skip to contentBrand Logo
RegisterSign In
  1. SmartBear Community
  2. Swagger Open Source Tools
  3. Swagger Open Source Tools Questions

Forum Discussion

om2k04's avatar
om2k04
New Member
9 months ago

i want to convert multipart/form-data to application/json in swagger

this type of O/P and i get is 

 

Swagger UI

1 Reply

  • rosecharnley's avatar
    rosecharnley
    Icon for Staff rankStaff
    9 months ago

    In the OpenAPI spec you need to change the requestBody>content type to application/json. 

Recent Discussions

  • Json and Xml example with inheritance

    22 hours ago
    Nathan1
  • OpenApi Spec for AWS ApiGateway doesn't allow 1 attribute to read its value dynamically

    1 day ago
    choudharyrahul
  • openapi codegen doesn't match swagger for xml array

    2 months ago
    Ray
Related Content
  • Multipart/form-data request body example

    1 year ago
    Stoplight
  • How to pass multipart/form-data request schema in POST Request?

    6 years ago
    gaurav090187
  • How to set different Content-Types in multipart/form-data POST Request?

    1 year ago
    rasierapparat
© 2025 SmartBear Software. All Rights Reserved.
  • Privacy
  • |
  • Terms of Use
  • |
  • Site Map
  • |
  • Website Terms of Use
  • |
  • Security
  • |
  • Community Terms of Service