openapi-python-client icon indicating copy to clipboard operation
openapi-python-client copied to clipboard

Support request bodies components

Open supermihi opened this issue 3 years ago • 2 comments

adds support for request bodies referencing to components/requestBodies/<name> (see spec)

Fixes #595. Sorry I only found #633 after preparing this PR, but in contrast to #633 this one also updates tests (including e2e).

supermihi avatar Aug 26 '22 14:08 supermihi

Note – I probably won't have time to continue this for the next few weeks, would be happy if s/o else could pick up :)

supermihi avatar Aug 26 '22 14:08 supermihi

@dbanty I think it's complete now, would you mind to take a look?

Disclaimer: I fixed the existing unit tests but did not write new ones especially for the new fetaure. To be honest I didn't really understand what how the tests work and what they actually test. ;-)

supermihi avatar Oct 21 '22 14:10 supermihi

Thank you for doing this, and sorry it took so long for me to get around to it. I ended up updating the other PR and finishing off, since there are soo many merge conflicts now (due to my delay).

dbanty avatar Jun 15 '24 19:06 dbanty