api_binding_ui 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/types.d.ts CHANGED
@@ -90,6 +90,9 @@ export interface ApiParameter {
90
90
  required: boolean;
91
91
  in?: ParamLocation | string;
92
92
  description?: string;
93
+ schema?: Record<string, unknown> | boolean;
94
+ style?: string;
95
+ explode?: boolean;
93
96
  }
94
97
  export interface ApiDefinition {
95
98
  api: string;
@@ -99,6 +102,15 @@ export interface ApiDefinition {
99
102
  label?: string;
100
103
  available?: boolean;
101
104
  problem?: string;
105
+ operationId?: string;
106
+ summary?: string;
107
+ description?: string;
108
+ tags?: string[];
109
+ tagDescriptions?: Record<string, string>;
110
+ requestSchema?: Record<string, unknown> | boolean;
111
+ requestBodyRequired?: boolean;
112
+ schemaDefinitions?: Record<string, unknown>;
113
+ contractIssues?: string[];
102
114
  }
103
115
  export interface BindingOption {
104
116
  value: string;
@@ -159,6 +171,7 @@ export interface RequestParts {
159
171
  params: Record<string, unknown>;
160
172
  path: Record<string, unknown>;
161
173
  headers?: Record<string, string>;
174
+ errors?: string[];
162
175
  }
163
176
  export interface RequestPreviewItem {
164
177
  order: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api_binding_ui",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "API Binding Studio - Isolated visual API mapping, simulation, and verification studio for enterprise web apps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,12 +18,17 @@
18
18
  "README.md",
19
19
  "SKILL.md"
20
20
  ],
21
+ "sideEffects": ["**/*.css"],
21
22
  "scripts": {
22
23
  "dev": "vite --port 5174",
23
24
  "build": "bun build src/index.ts --outdir dist --target browser --external react --external react-dom && powershell -Command \"Copy-Item -Path 'dist/index.css' -Destination 'dist/api-binding-ui.css' -Force\" && node ./node_modules/typescript/bin/tsc -p tsconfig.build.json",
24
25
  "preview": "vite preview",
25
26
  "test": "bun test"
26
27
  },
28
+ "dependencies": {
29
+ "ajv": "^8.17.1",
30
+ "ajv-formats": "^3.0.1"
31
+ },
27
32
  "peerDependencies": {
28
33
  "react": ">=18.0.0",
29
34
  "react-dom": ">=18.0.0"