Closed enzonotario closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
vitepress-openapi | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 12, 2024 1:18am |
The changes in this pull request involve the addition of new documentation and components to support the display and handling of OpenAPI parameters in a VitePress environment. A new sidebar item for "Parameters" has been added to the documentation, and a new Markdown file has been created to detail the parameters. Additionally, an OpenAPI specification file has been introduced, and modifications to existing Vue components enhance the handling of boolean query parameters.
File Path | Change Summary |
---|---|
docs/.vitepress/config.mts | Added sidebar item: "Parameters" linking to /example/parameters . |
docs/example/parameters/index.md | Created new Markdown file index.md for parameters with metadata and component rendering. |
docs/public/openapi-parameters.json | Added new OpenAPI specification file defining a "Parameter Testing API" with endpoint details. |
src/components/Playground/OAPlaygroundParameterInput.vue | Introduced new <Checkbox> component for rendering boolean parameters conditionally. |
src/components/Playground/OAPlaygroundParameters.vue | Enhanced buildRequest function to improve validation for variable values in requests. |
Objective | Addressed | Explanation |
---|---|---|
Boolean query parameters should be displayed in variable list (#83) | ✅ |
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
pnpm add https://pkg.pr.new/vitepress-openapi@86
pnpm add https://pkg.pr.new/vitepress-openapi@86
commit: 403915b
Description
Allows to handle Boolean Parameters with a Checkbox.
Related issues/external references
Fixes #83
Types of changes