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

Forum Discussion

mrvgulay's avatar
mrvgulay
Regular Visitor
5 years ago

How to set reference of the request body content as dynamic JSON?

I want to pass dynamic JSON to request body content. When I search on google, I see that this operation made by a DTO. 

Is it possible to do this without defining any DTO? 

 

I share below the example with DTO.

 

https://swagger.io/docs/specification/describing-request-body/

requestbody
Swagger Core
Swagger Editor
Swagger UI
No RepliesBe the first to reply

Recent Discussions

  • How to troubleshoot object recognition issues in TestComplete?

    1 month ago
    MHindujaDheeraj
  • How do I set up API testing workflows in ReadyAPI or SoapUI?

    1 month ago
    MHindujaDheeraj
  • How can I get started with Swagger’s open source tools

    1 month ago
    MHindujaDheeraj
Related Content
  • How to add a JSON example in a POST Request Body? (without a schema reference)

    5 years ago
    bdipasca
  • POST request data is getting truncated and error Content is not allowed in prolog shown

    4 years ago
    shadab1312
  • 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