Skip to content

Commit

Permalink
Data type properties viewer/editor (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardo-forina committed Nov 19, 2024
1 parent a501aa9 commit 0129bb0
Show file tree
Hide file tree
Showing 8 changed files with 273 additions and 109 deletions.
8 changes: 8 additions & 0 deletions packages/ui/src/OpenApiEditorModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,16 @@ export type DocumentPath = {
operations: Operation[];
};

export type DataTypeProperty = {
name: string;
description?: string;
required: boolean;
type: string;
};

export type DocumentDataType = {
description: string;
properties: DataTypeProperty[];
};

export type DocumentResponse = {
Expand Down
Loading

0 comments on commit 0129bb0

Please sign in to comment.