-
Notifications
You must be signed in to change notification settings - Fork 238
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
[V2] OpenAPI 2.0 Preview #439
Conversation
Size Change: +17.1 kB (0%) Total Size: 6.28 MB
ℹ️ View Unchanged
|
Visit the preview URL for this PR (updated for commit a5111bf): https://docusaurus-openapi-36b86--pr439-hycqr78u.web.app (expires Sun, 10 Dec 2023 19:36:26 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
90f63b2
to
02a57da
Compare
…nel (#429) * Add v2 announcement bar * Remove MethodEndpoint from ApiDemoPanel * Move MethodEndpoint into api page * Add newline underneath deprecation notice * Fix linting issues * Render MethodEndpoint directly below title * Resolve merge conflict * Use width:fit-content for method endpoint * Add server url to method endpoint * Fix linting issues * Add max-width to prevent overflow * BrowserOnly wrapper test for method endpoint * Fix linting issues * Add server variables support * Refactor server url render with BrowserOnly * Move serverValue and serverUrlWithVariables to MethodEndpoint component level
* Default to any if no header schema/type exists * Default to any if no param schema/type exists * Switch to test spec
* Create info page if title or description exists * Refactor to support all security types * Add more example security types for testing * Render scopes only if length > 0 * Fix formatting * Fix tab label and header formatting * Switch to using SchemaTabs * Use custom class to fit tabs to width
* Add support for vendor extensions * Add code security for testing * Revert back to petstore
* Update mustache template * Add hideSendButton option * Toggle send button with hide_send_button * Update frontMatter.hide_send_button if true * Disable send button for testing * Unhide send button
…not defined (#455) * Add preprocessing step to inject title attribute to component schema if none exists * Add CloudAccounts for testing * Remove CloudAccounts from demo * Remove title attribute from components schemas * Revert back to petstore
* Add support for rendering additionalProperties schemas * Check for properties, items, anyOf, oneOf, additionalProperties or allOf before returning createDetailsComponent * Add check for array
* Eval guard value as double not * Fix regression bug that always set response primitives required to false
…nippets (#577) * Rename ApiDemoPanel to ApiExplorer and Curl to CodeSnippets * Move Modal back into ExpandButton * Replace openapi-demo class and css selectors with openapi-explorer
Hi, are there additional child PR's in flight or is the 2.0.0 feature complete? |
Hi @smeng9, it is considered feature complete as of now. |
Hi @sserrata, It seems nothing is blocking it, do we have a timeline for the stable release of 2.0? |
@smeng9, hoping to have it rolled out by mid-to-late September, once we have time to focus on this project again. For now, the v2.0.0-beta should be considered "stable enough" for use in production - not anticipating any major breaking changes between now and stable release. |
* Unify tab names * Fix prettier formatting error * Fix naming in examplebodies --------- Co-authored-by: Steven Serrata <9343811+sserrata@users.noreply.github.com>
* add compression support to frontmatter api prop * fix linter errors * check if api exists before decompressing * fix linter errors
* add support for anyOf * Move createResponseSchema and createRequestSchema functions to common module * Rename createAnyOneOfProperty for consistency * Fix linter errors * Use title as tab label and continue creating nodes if properties exist --------- Co-authored-by: Jordan Stephens <jordan@stephens.io>
* align schema items vertically * adjust caret height and margin * fix linter errors * adjust top alignment for params * add missing clasname
Co-authored-by: Jan Kukuczka <jan.kukuczka@phonexia.com>
* prepare release v2.0.0-beta.4 * update changelog * update changelog
* Remove react nextui dependency * add pure css loading spinner --------- Co-authored-by: Steven Serrata <sserrata@paloaltonetworks.com>
* Use sass-loader as direct dependency (theme) * Add yarn lockfile
* Reuse createAnyOneOf while creating a property `createAnyOneOfProperty` has an incomplete implementation and doesn't display all possible types at the moment, but only 'object' type. * Test oneOf tabs showing correct information * Allow importing dev dependencies in test files * ignore import/no-extraneous-dependencies --------- Co-authored-by: Steven Serrata <sserrata@paloaltonetworks.com>
* hide code snippets for webhooks * hide server path for webhooks * hide server and send button for webhooks
Hi, is there any chance that version 2 of this plugin can be updated to support Docusaurus 3? #654. And so that users can plan for their upgrades, maybe you can give an estimate of when you expect you might have time to finish working on the new version? Thanks as always! |
Description
Long-standing PR for upcoming
v2.0.0
releasePreview: https://docusaurus-openapi-36b86--pr439-hycqr78u.web.app/petstore/add-pet
Current Child PR's in flight:
Completed Child PR's:
Add BEM-style classes to method/endpoint and auth panels #389