-
Notifications
You must be signed in to change notification settings - Fork 251
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
[FR] Support for response status code examples #176
Conversation
Size Change: +62.8 kB (+2%) Total Size: 3.5 MB
ℹ️ View Unchanged
|
Visit the preview URL for this PR (updated for commit 5164f99): https://docusaurus-openapi-36b86--pr176-6w9usouk.web.app (expires Wed, 31 Aug 2022 23:52:25 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
Latest commits contains the following updates:
|
Looks amazing! (Also tested with PANOS REST API.) Screen.Recording.2022-08-02.at.8.20.49.AM.mov |
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.
🦝
Description
This PR introduces added support for response status code examples. Users will now be able to toggle between the Response Schema and any provided examples via
SchemaTabs
.CodeBlock
component)CodeBlock
component)SchemaTabs
component)Motivation and Context
See #119
How Has This Been Tested?
So far tested with IoT API, which contains single status code examples and multiple status code examples. Will do further testing on other product API's that contain status code examples.
Screenshots (if appropriate)
Response Status Code examples provided
Screen.Recording.2022-08-01.at.4.58.52.PM.mov
Response Status Code examples not provided
Types of changes
Checklist