Schemas and Response Bodies
This is either a usability issue or a documentation issue...
Is there no way to leverage a defined Schema as a Request Body? I'm hoping that there is and that I've missed it. If there isn't a way to do this now, it seems like a pretty solid feature to add as it would save a ton of time vs creating new objects in the Schema Editor (uffda, that editor is brutal to use).
btw, I really dig what you're doing here. I've been a swagger user for years, and have always wanted a GUI to create the json vs the other way around.
uffda, that editor is brutal to use
It is. I'm on the lookout for a more pleasant alternative.
Let me take a look at the missing functionality and report back.
As well as the ability to delete a requestBody, there's now the ability to re-use an existing shared schema for a requestBody, the icon is like :recycle:
Would really appreciate your feedback on whether this covers your use-case.
I haven't had time to test this, but should have time later this week. Sounds like it'll be a winner though!
Hey together,
I was/am also looking for this feature - both for the response and request bodies (both are mentioned within this issue).
From a UX perspective, it would make sense to either specify JSON or use a reference. Maybe the UI could be adapted accordingly? Also, while referencing requests bodies is now possible, the dropdown is shown empty and the response bodies are not supported. It looks like it definitely goes into the right direction, but there are some more steps ahead I guess ;)
Hello, The requestbody in exported file doesnt contain type of schema, properties and type of parameters i am passing. is there any alternate of this ? pls let me know