-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TOOL-2801] Insight Playground: Use OpenAPIV3 types (#5804)
## Problem solved Short description of the bug fixed or feature added <!-- start pr-codex --> --- ## PR-Codex overview This PR introduces the `openapi-types` package and updates the handling of OpenAPI specifications in the dashboard application. It enhances type safety and flexibility in managing API parameters and responses. ### Detailed summary - Added `openapi-types` dependency. - Updated `blueprintSpec` to use `OpenAPIV3.Document`. - Modified parameter handling in `BlueprintPlaygroundUI` to filter and process OpenAPI parameters. - Enhanced type definitions for `BlueprintParameter` using `OpenAPIV3.ParameterObject`. - Updated rendering logic in `BlueprintCard` to handle optional descriptions and titles. - Refactored utility functions to align with new OpenAPI types. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information
Showing
7 changed files
with
613 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.