-
-
Notifications
You must be signed in to change notification settings - Fork 544
feat: requestBody
types
#339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #339 +/- ##
==========================================
+ Coverage 86.40% 89.17% +2.77%
==========================================
Files 5 5
Lines 250 231 -19
Branches 88 78 -10
==========================================
- Hits 216 206 -10
+ Misses 22 18 -4
+ Partials 12 7 -5
Continue to review full report at Codecov.
|
@@ -194,6 +226,9 @@ export interface paths { | |||
} | |||
'/store/order': { | |||
post: { | |||
requestBody: { | |||
'*/*': components['schemas']['Order'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah interesting. Didn’t even know you could do this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not exactly sure if this is part of the specification, but GitHub is using it for its "Upload a release asset" endpoint, which allows you to upload any kind of file, of any type
} | ||
|
||
export interface components {} | ||
`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔥 🔥 🔥 You’re on fire! 😄
fixes #338