swagger-parser-mcp-server 2.0.4 → 2.3.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/README.md +131 -100
- package/dist/application/snapshot/createSnapshotRuntime.d.ts +2 -0
- package/dist/application/snapshot/createSnapshotRuntime.d.ts.map +1 -0
- package/dist/application/snapshot/createSnapshotRuntime.js +2 -0
- package/dist/application/snapshot/createSnapshotRuntime.js.map +1 -0
- package/dist/application/snapshot/snapshotCaptureService.d.ts +90 -0
- package/dist/application/snapshot/snapshotCaptureService.d.ts.map +1 -0
- package/dist/application/snapshot/snapshotCaptureService.js +394 -0
- package/dist/application/snapshot/snapshotCaptureService.js.map +1 -0
- package/dist/application/snapshot/snapshotRepository.d.ts +77 -0
- package/dist/application/snapshot/snapshotRepository.d.ts.map +1 -0
- package/dist/application/snapshot/snapshotRepository.js +2 -0
- package/dist/application/snapshot/snapshotRepository.js.map +1 -0
- package/dist/domain/canonical/canonicalSnapshot.d.ts +61 -0
- package/dist/domain/canonical/canonicalSnapshot.d.ts.map +1 -0
- package/dist/domain/canonical/canonicalSnapshot.js +300 -0
- package/dist/domain/canonical/canonicalSnapshot.js.map +1 -0
- package/dist/domain/contracts/runtimeEnvironmentContract.d.ts +21 -0
- package/dist/domain/contracts/runtimeEnvironmentContract.d.ts.map +1 -0
- package/dist/domain/contracts/runtimeEnvironmentContract.js +50 -0
- package/dist/domain/contracts/runtimeEnvironmentContract.js.map +1 -0
- package/dist/domain/contracts/snapshotDiffContract.d.ts +270 -0
- package/dist/domain/contracts/snapshotDiffContract.d.ts.map +1 -0
- package/dist/domain/contracts/snapshotDiffContract.js +99 -0
- package/dist/domain/contracts/snapshotDiffContract.js.map +1 -0
- package/dist/domain/diff/endpointDiffClassifier.d.ts +78 -0
- package/dist/domain/diff/endpointDiffClassifier.d.ts.map +1 -0
- package/dist/domain/diff/endpointDiffClassifier.js +317 -0
- package/dist/domain/diff/endpointDiffClassifier.js.map +1 -0
- package/dist/http.d.ts +3 -0
- package/dist/http.d.ts.map +1 -0
- package/dist/http.js +52 -0
- package/dist/http.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +88 -266
- package/dist/index.js.map +1 -1
- package/dist/infrastructure/postgres/migrationRunner.d.ts +14 -0
- package/dist/infrastructure/postgres/migrationRunner.d.ts.map +1 -0
- package/dist/infrastructure/postgres/migrationRunner.js +161 -0
- package/dist/infrastructure/postgres/migrationRunner.js.map +1 -0
- package/dist/infrastructure/postgres/migrations/001_snapshot_schema.sql +29 -0
- package/dist/infrastructure/postgres/migrations/002_snapshot_change_history.sql +32 -0
- package/dist/infrastructure/postgres/postgresSnapshotRepository.d.ts +25 -0
- package/dist/infrastructure/postgres/postgresSnapshotRepository.d.ts.map +1 -0
- package/dist/infrastructure/postgres/postgresSnapshotRepository.js +323 -0
- package/dist/infrastructure/postgres/postgresSnapshotRepository.js.map +1 -0
- package/dist/infrastructure/postgres/runMigrations.d.ts +3 -0
- package/dist/infrastructure/postgres/runMigrations.d.ts.map +1 -0
- package/dist/infrastructure/postgres/runMigrations.js +33 -0
- package/dist/infrastructure/postgres/runMigrations.js.map +1 -0
- package/dist/infrastructure/runtime/createSnapshotRuntime.d.ts +17 -0
- package/dist/infrastructure/runtime/createSnapshotRuntime.d.ts.map +1 -0
- package/dist/infrastructure/runtime/createSnapshotRuntime.js +38 -0
- package/dist/infrastructure/runtime/createSnapshotRuntime.js.map +1 -0
- package/dist/schemas.d.ts +284 -3
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +110 -1
- package/dist/schemas.js.map +1 -1
- package/dist/tests/canonicalSnapshot.test.d.ts +2 -0
- package/dist/tests/canonicalSnapshot.test.d.ts.map +1 -0
- package/dist/tests/canonicalSnapshot.test.js +425 -0
- package/dist/tests/canonicalSnapshot.test.js.map +1 -0
- package/dist/tests/endpointDiffClassifier.test.d.ts +2 -0
- package/dist/tests/endpointDiffClassifier.test.d.ts.map +1 -0
- package/dist/tests/endpointDiffClassifier.test.js +633 -0
- package/dist/tests/endpointDiffClassifier.test.js.map +1 -0
- package/dist/tests/httpSnapshotTransport.test.d.ts +2 -0
- package/dist/tests/httpSnapshotTransport.test.d.ts.map +1 -0
- package/dist/tests/httpSnapshotTransport.test.js +356 -0
- package/dist/tests/httpSnapshotTransport.test.js.map +1 -0
- package/dist/tests/indexLifecycle.test.d.ts +2 -0
- package/dist/tests/indexLifecycle.test.d.ts.map +1 -0
- package/dist/tests/indexLifecycle.test.js +23 -0
- package/dist/tests/indexLifecycle.test.js.map +1 -0
- package/dist/tests/mcpSnapshotTools.test.d.ts +2 -0
- package/dist/tests/mcpSnapshotTools.test.d.ts.map +1 -0
- package/dist/tests/mcpSnapshotTools.test.js +316 -0
- package/dist/tests/mcpSnapshotTools.test.js.map +1 -0
- package/dist/tests/postgresMigrationSmoke.test.d.ts +2 -0
- package/dist/tests/postgresMigrationSmoke.test.d.ts.map +1 -0
- package/dist/tests/postgresMigrationSmoke.test.js +187 -0
- package/dist/tests/postgresMigrationSmoke.test.js.map +1 -0
- package/dist/tests/realPostgresTestSchema.d.ts +10 -0
- package/dist/tests/realPostgresTestSchema.d.ts.map +1 -0
- package/dist/tests/realPostgresTestSchema.js +73 -0
- package/dist/tests/realPostgresTestSchema.js.map +1 -0
- package/dist/tests/snapshotCapturePipeline.test.d.ts +2 -0
- package/dist/tests/snapshotCapturePipeline.test.d.ts.map +1 -0
- package/dist/tests/snapshotCapturePipeline.test.js +475 -0
- package/dist/tests/snapshotCapturePipeline.test.js.map +1 -0
- package/dist/tests/snapshotDiffContract.test.d.ts +2 -0
- package/dist/tests/snapshotDiffContract.test.d.ts.map +1 -0
- package/dist/tests/snapshotDiffContract.test.js +156 -0
- package/dist/tests/snapshotDiffContract.test.js.map +1 -0
- package/dist/tests/snapshotPersistence.real.test.d.ts +2 -0
- package/dist/tests/snapshotPersistence.real.test.d.ts.map +1 -0
- package/dist/tests/snapshotPersistence.real.test.js +310 -0
- package/dist/tests/snapshotPersistence.real.test.js.map +1 -0
- package/dist/tests/webServerRuntime.test.d.ts +2 -0
- package/dist/tests/webServerRuntime.test.d.ts.map +1 -0
- package/dist/tests/webServerRuntime.test.js +123 -0
- package/dist/tests/webServerRuntime.test.js.map +1 -0
- package/dist/transport/createSnapshotToolRuntime.d.ts +7 -0
- package/dist/transport/createSnapshotToolRuntime.d.ts.map +1 -0
- package/dist/transport/createSnapshotToolRuntime.js +40 -0
- package/dist/transport/createSnapshotToolRuntime.js.map +1 -0
- package/dist/transport/httpSnapshotServer.d.ts +11 -0
- package/dist/transport/httpSnapshotServer.d.ts.map +1 -0
- package/dist/transport/httpSnapshotServer.js +216 -0
- package/dist/transport/httpSnapshotServer.js.map +1 -0
- package/dist/transport/mcpToolRouter.d.ts +81 -0
- package/dist/transport/mcpToolRouter.d.ts.map +1 -0
- package/dist/transport/mcpToolRouter.js +416 -0
- package/dist/transport/mcpToolRouter.js.map +1 -0
- package/dist/transport/webServerRuntime.d.ts +17 -0
- package/dist/transport/webServerRuntime.d.ts.map +1 -0
- package/dist/transport/webServerRuntime.js +73 -0
- package/dist/transport/webServerRuntime.js.map +1 -0
- package/dist/utils/swaggerCache.d.ts +4 -0
- package/dist/utils/swaggerCache.d.ts.map +1 -1
- package/dist/utils/swaggerCache.js +8 -0
- package/dist/utils/swaggerCache.js.map +1 -1
- package/dist/utils/types.d.ts +2 -1
- package/dist/utils/types.d.ts.map +1 -1
- package/dist/utils/types.js +2 -0
- package/dist/utils/types.js.map +1 -1
- package/dist/web/dashboard.css +411 -0
- package/dist/web/dashboard.html +141 -0
- package/dist/web/dashboard.js +540 -0
- package/package.json +27 -17
package/dist/schemas.d.ts
CHANGED
|
@@ -30,15 +30,15 @@ export declare const getPathsByControllerSchema: z.ZodObject<{
|
|
|
30
30
|
export declare const getPathDetailsSchema: z.ZodObject<{
|
|
31
31
|
url: z.ZodString;
|
|
32
32
|
path: z.ZodString;
|
|
33
|
-
method: z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options"]>;
|
|
33
|
+
method: z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
path: string;
|
|
36
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
36
37
|
url: string;
|
|
37
|
-
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options";
|
|
38
38
|
}, {
|
|
39
39
|
path: string;
|
|
40
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
40
41
|
url: string;
|
|
41
|
-
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options";
|
|
42
42
|
}>;
|
|
43
43
|
export declare const resolveSchemaSchema: z.ZodObject<{
|
|
44
44
|
url: z.ZodString;
|
|
@@ -50,9 +50,290 @@ export declare const resolveSchemaSchema: z.ZodObject<{
|
|
|
50
50
|
url: string;
|
|
51
51
|
ref: string;
|
|
52
52
|
}>;
|
|
53
|
+
export declare const captureSnapshotSchema: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
54
|
+
export declare const listSnapshotsSchema: z.ZodObject<{
|
|
55
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
}, "strict", z.ZodTypeAny, {
|
|
57
|
+
limit?: number | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
limit?: number | undefined;
|
|
60
|
+
}>;
|
|
61
|
+
export declare const getSnapshotDiffSchema: z.ZodObject<{
|
|
62
|
+
baselineSnapshotId: z.ZodString;
|
|
63
|
+
targetSnapshotId: z.ZodString;
|
|
64
|
+
}, "strict", z.ZodTypeAny, {
|
|
65
|
+
baselineSnapshotId: string;
|
|
66
|
+
targetSnapshotId: string;
|
|
67
|
+
}, {
|
|
68
|
+
baselineSnapshotId: string;
|
|
69
|
+
targetSnapshotId: string;
|
|
70
|
+
}>;
|
|
71
|
+
export declare const getEndpointDiffDetailSchema: z.ZodObject<{
|
|
72
|
+
baselineSnapshotId: z.ZodString;
|
|
73
|
+
targetSnapshotId: z.ZodString;
|
|
74
|
+
path: z.ZodString;
|
|
75
|
+
method: z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>;
|
|
76
|
+
}, "strict", z.ZodTypeAny, {
|
|
77
|
+
path: string;
|
|
78
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
79
|
+
baselineSnapshotId: string;
|
|
80
|
+
targetSnapshotId: string;
|
|
81
|
+
}, {
|
|
82
|
+
path: string;
|
|
83
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
84
|
+
baselineSnapshotId: string;
|
|
85
|
+
targetSnapshotId: string;
|
|
86
|
+
}>;
|
|
87
|
+
export declare const listEndpointChangeHistorySchema: z.ZodEffects<z.ZodObject<{
|
|
88
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
path: z.ZodOptional<z.ZodString>;
|
|
90
|
+
method: z.ZodOptional<z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>>;
|
|
91
|
+
}, "strict", z.ZodTypeAny, {
|
|
92
|
+
path?: string | undefined;
|
|
93
|
+
method?: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | undefined;
|
|
94
|
+
limit?: number | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
path?: string | undefined;
|
|
97
|
+
method?: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | undefined;
|
|
98
|
+
limit?: number | undefined;
|
|
99
|
+
}>, {
|
|
100
|
+
path?: string | undefined;
|
|
101
|
+
method?: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | undefined;
|
|
102
|
+
limit?: number | undefined;
|
|
103
|
+
}, {
|
|
104
|
+
path?: string | undefined;
|
|
105
|
+
method?: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | undefined;
|
|
106
|
+
limit?: number | undefined;
|
|
107
|
+
}>;
|
|
108
|
+
export declare const listSnapshotItemSchema: z.ZodObject<{
|
|
109
|
+
id: z.ZodString;
|
|
110
|
+
sourceId: z.ZodString;
|
|
111
|
+
specHash: z.ZodString;
|
|
112
|
+
documentFingerprint: z.ZodString;
|
|
113
|
+
capturedAt: z.ZodString;
|
|
114
|
+
}, "strict", z.ZodTypeAny, {
|
|
115
|
+
specHash: string;
|
|
116
|
+
sourceId: string;
|
|
117
|
+
documentFingerprint: string;
|
|
118
|
+
id: string;
|
|
119
|
+
capturedAt: string;
|
|
120
|
+
}, {
|
|
121
|
+
specHash: string;
|
|
122
|
+
sourceId: string;
|
|
123
|
+
documentFingerprint: string;
|
|
124
|
+
id: string;
|
|
125
|
+
capturedAt: string;
|
|
126
|
+
}>;
|
|
127
|
+
export declare const listSnapshotsResultSchema: z.ZodObject<{
|
|
128
|
+
projectKey: z.ZodString;
|
|
129
|
+
sourceUrl: z.ZodString;
|
|
130
|
+
snapshots: z.ZodArray<z.ZodObject<{
|
|
131
|
+
id: z.ZodString;
|
|
132
|
+
sourceId: z.ZodString;
|
|
133
|
+
specHash: z.ZodString;
|
|
134
|
+
documentFingerprint: z.ZodString;
|
|
135
|
+
capturedAt: z.ZodString;
|
|
136
|
+
}, "strict", z.ZodTypeAny, {
|
|
137
|
+
specHash: string;
|
|
138
|
+
sourceId: string;
|
|
139
|
+
documentFingerprint: string;
|
|
140
|
+
id: string;
|
|
141
|
+
capturedAt: string;
|
|
142
|
+
}, {
|
|
143
|
+
specHash: string;
|
|
144
|
+
sourceId: string;
|
|
145
|
+
documentFingerprint: string;
|
|
146
|
+
id: string;
|
|
147
|
+
capturedAt: string;
|
|
148
|
+
}>, "many">;
|
|
149
|
+
}, "strict", z.ZodTypeAny, {
|
|
150
|
+
projectKey: string;
|
|
151
|
+
sourceUrl: string;
|
|
152
|
+
snapshots: {
|
|
153
|
+
specHash: string;
|
|
154
|
+
sourceId: string;
|
|
155
|
+
documentFingerprint: string;
|
|
156
|
+
id: string;
|
|
157
|
+
capturedAt: string;
|
|
158
|
+
}[];
|
|
159
|
+
}, {
|
|
160
|
+
projectKey: string;
|
|
161
|
+
sourceUrl: string;
|
|
162
|
+
snapshots: {
|
|
163
|
+
specHash: string;
|
|
164
|
+
sourceId: string;
|
|
165
|
+
documentFingerprint: string;
|
|
166
|
+
id: string;
|
|
167
|
+
capturedAt: string;
|
|
168
|
+
}[];
|
|
169
|
+
}>;
|
|
170
|
+
export declare const endpointDiffDetailOutputSchema: z.ZodObject<{
|
|
171
|
+
baselineSnapshotId: z.ZodString;
|
|
172
|
+
targetSnapshotId: z.ZodString;
|
|
173
|
+
path: z.ZodString;
|
|
174
|
+
method: z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>;
|
|
175
|
+
hasChange: z.ZodBoolean;
|
|
176
|
+
classification: z.ZodNullable<z.ZodEnum<["breaking", "non-breaking", "info"]>>;
|
|
177
|
+
changeReason: z.ZodNullable<z.ZodString>;
|
|
178
|
+
details: z.ZodArray<z.ZodObject<{
|
|
179
|
+
reason: z.ZodString;
|
|
180
|
+
classification: z.ZodEnum<["breaking", "non-breaking", "info"]>;
|
|
181
|
+
message: z.ZodString;
|
|
182
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
183
|
+
}, "strict", z.ZodTypeAny, {
|
|
184
|
+
message: string;
|
|
185
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
186
|
+
reason: string;
|
|
187
|
+
metadata?: Record<string, unknown> | undefined;
|
|
188
|
+
}, {
|
|
189
|
+
message: string;
|
|
190
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
191
|
+
reason: string;
|
|
192
|
+
metadata?: Record<string, unknown> | undefined;
|
|
193
|
+
}>, "many">;
|
|
194
|
+
before: z.ZodNullable<z.ZodUnknown>;
|
|
195
|
+
after: z.ZodNullable<z.ZodUnknown>;
|
|
196
|
+
}, "strict", z.ZodTypeAny, {
|
|
197
|
+
path: string;
|
|
198
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
199
|
+
baselineSnapshotId: string;
|
|
200
|
+
targetSnapshotId: string;
|
|
201
|
+
classification: "breaking" | "non-breaking" | "info" | null;
|
|
202
|
+
changeReason: string | null;
|
|
203
|
+
hasChange: boolean;
|
|
204
|
+
details: {
|
|
205
|
+
message: string;
|
|
206
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
207
|
+
reason: string;
|
|
208
|
+
metadata?: Record<string, unknown> | undefined;
|
|
209
|
+
}[];
|
|
210
|
+
before?: unknown;
|
|
211
|
+
after?: unknown;
|
|
212
|
+
}, {
|
|
213
|
+
path: string;
|
|
214
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
215
|
+
baselineSnapshotId: string;
|
|
216
|
+
targetSnapshotId: string;
|
|
217
|
+
classification: "breaking" | "non-breaking" | "info" | null;
|
|
218
|
+
changeReason: string | null;
|
|
219
|
+
hasChange: boolean;
|
|
220
|
+
details: {
|
|
221
|
+
message: string;
|
|
222
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
223
|
+
reason: string;
|
|
224
|
+
metadata?: Record<string, unknown> | undefined;
|
|
225
|
+
}[];
|
|
226
|
+
before?: unknown;
|
|
227
|
+
after?: unknown;
|
|
228
|
+
}>;
|
|
229
|
+
export declare const endpointChangeHistoryEventSchema: z.ZodObject<{
|
|
230
|
+
baselineSnapshotId: z.ZodString;
|
|
231
|
+
targetSnapshotId: z.ZodString;
|
|
232
|
+
path: z.ZodString;
|
|
233
|
+
method: z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>;
|
|
234
|
+
classification: z.ZodEnum<["breaking", "non-breaking", "info"]>;
|
|
235
|
+
changeReason: z.ZodString;
|
|
236
|
+
changedAt: z.ZodString;
|
|
237
|
+
}, "strict", z.ZodTypeAny, {
|
|
238
|
+
path: string;
|
|
239
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
240
|
+
baselineSnapshotId: string;
|
|
241
|
+
targetSnapshotId: string;
|
|
242
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
243
|
+
changeReason: string;
|
|
244
|
+
changedAt: string;
|
|
245
|
+
}, {
|
|
246
|
+
path: string;
|
|
247
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
248
|
+
baselineSnapshotId: string;
|
|
249
|
+
targetSnapshotId: string;
|
|
250
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
251
|
+
changeReason: string;
|
|
252
|
+
changedAt: string;
|
|
253
|
+
}>;
|
|
254
|
+
export declare const listEndpointChangeHistoryResultSchema: z.ZodObject<{
|
|
255
|
+
projectKey: z.ZodString;
|
|
256
|
+
sourceUrl: z.ZodString;
|
|
257
|
+
filter: z.ZodObject<{
|
|
258
|
+
path: z.ZodNullable<z.ZodString>;
|
|
259
|
+
method: z.ZodNullable<z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>>;
|
|
260
|
+
}, "strict", z.ZodTypeAny, {
|
|
261
|
+
path: string | null;
|
|
262
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | null;
|
|
263
|
+
}, {
|
|
264
|
+
path: string | null;
|
|
265
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | null;
|
|
266
|
+
}>;
|
|
267
|
+
events: z.ZodArray<z.ZodObject<{
|
|
268
|
+
baselineSnapshotId: z.ZodString;
|
|
269
|
+
targetSnapshotId: z.ZodString;
|
|
270
|
+
path: z.ZodString;
|
|
271
|
+
method: z.ZodEnum<["get", "post", "put", "delete", "patch", "head", "options", "trace"]>;
|
|
272
|
+
classification: z.ZodEnum<["breaking", "non-breaking", "info"]>;
|
|
273
|
+
changeReason: z.ZodString;
|
|
274
|
+
changedAt: z.ZodString;
|
|
275
|
+
}, "strict", z.ZodTypeAny, {
|
|
276
|
+
path: string;
|
|
277
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
278
|
+
baselineSnapshotId: string;
|
|
279
|
+
targetSnapshotId: string;
|
|
280
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
281
|
+
changeReason: string;
|
|
282
|
+
changedAt: string;
|
|
283
|
+
}, {
|
|
284
|
+
path: string;
|
|
285
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
286
|
+
baselineSnapshotId: string;
|
|
287
|
+
targetSnapshotId: string;
|
|
288
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
289
|
+
changeReason: string;
|
|
290
|
+
changedAt: string;
|
|
291
|
+
}>, "many">;
|
|
292
|
+
}, "strict", z.ZodTypeAny, {
|
|
293
|
+
filter: {
|
|
294
|
+
path: string | null;
|
|
295
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | null;
|
|
296
|
+
};
|
|
297
|
+
projectKey: string;
|
|
298
|
+
sourceUrl: string;
|
|
299
|
+
events: {
|
|
300
|
+
path: string;
|
|
301
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
302
|
+
baselineSnapshotId: string;
|
|
303
|
+
targetSnapshotId: string;
|
|
304
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
305
|
+
changeReason: string;
|
|
306
|
+
changedAt: string;
|
|
307
|
+
}[];
|
|
308
|
+
}, {
|
|
309
|
+
filter: {
|
|
310
|
+
path: string | null;
|
|
311
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace" | null;
|
|
312
|
+
};
|
|
313
|
+
projectKey: string;
|
|
314
|
+
sourceUrl: string;
|
|
315
|
+
events: {
|
|
316
|
+
path: string;
|
|
317
|
+
method: "get" | "post" | "put" | "delete" | "patch" | "head" | "options" | "trace";
|
|
318
|
+
baselineSnapshotId: string;
|
|
319
|
+
targetSnapshotId: string;
|
|
320
|
+
classification: "breaking" | "non-breaking" | "info";
|
|
321
|
+
changeReason: string;
|
|
322
|
+
changedAt: string;
|
|
323
|
+
}[];
|
|
324
|
+
}>;
|
|
53
325
|
export type LoadSwaggerInput = z.infer<typeof loadSwaggerSchema>;
|
|
54
326
|
export type GetControllersInput = z.infer<typeof getControllersSchema>;
|
|
55
327
|
export type GetPathsByControllerInput = z.infer<typeof getPathsByControllerSchema>;
|
|
56
328
|
export type GetPathDetailsInput = z.infer<typeof getPathDetailsSchema>;
|
|
57
329
|
export type ResolveSchemaInput = z.infer<typeof resolveSchemaSchema>;
|
|
330
|
+
export type CaptureSnapshotInput = z.infer<typeof captureSnapshotSchema>;
|
|
331
|
+
export type ListSnapshotsInput = z.infer<typeof listSnapshotsSchema>;
|
|
332
|
+
export type GetSnapshotDiffInput = z.infer<typeof getSnapshotDiffSchema>;
|
|
333
|
+
export type GetEndpointDiffDetailInput = z.infer<typeof getEndpointDiffDetailSchema>;
|
|
334
|
+
export type ListEndpointChangeHistoryInput = z.infer<typeof listEndpointChangeHistorySchema>;
|
|
335
|
+
export type ListSnapshotsResult = z.infer<typeof listSnapshotsResultSchema>;
|
|
336
|
+
export type EndpointDiffDetailOutput = z.infer<typeof endpointDiffDetailOutputSchema>;
|
|
337
|
+
export type EndpointChangeHistoryEvent = z.infer<typeof endpointChangeHistoryEventSchema>;
|
|
338
|
+
export type ListEndpointChangeHistoryResult = z.infer<typeof listEndpointChangeHistoryResultSchema>;
|
|
58
339
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB;;;GAGG;AAGH,eAAO,MAAM,iB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KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AACvE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACzE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACzE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AACrF,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AAC7F,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AACtF,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,+BAA+B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qCAAqC,CAAC,CAAC"}
|
package/dist/schemas.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { SUPPORTED_HTTP_METHODS } from './utils/types.js';
|
|
3
|
+
const httpMethodSchema = z.enum(SUPPORTED_HTTP_METHODS, {
|
|
4
|
+
errorMap: () => ({ message: 'Method must be a valid HTTP method' }),
|
|
5
|
+
});
|
|
2
6
|
/**
|
|
3
7
|
* Zod schemas for MCP tool input validation
|
|
4
8
|
* These schemas provide runtime validation and type safety for all MCP tools
|
|
@@ -20,7 +24,7 @@ export const getPathsByControllerSchema = z.object({
|
|
|
20
24
|
export const getPathDetailsSchema = z.object({
|
|
21
25
|
url: z.string().url('Must be a valid URL'),
|
|
22
26
|
path: z.string().min(1, 'Path is required'),
|
|
23
|
-
method: z.enum(
|
|
27
|
+
method: z.enum(SUPPORTED_HTTP_METHODS, {
|
|
24
28
|
errorMap: () => ({ message: 'Method must be a valid HTTP method' }),
|
|
25
29
|
}),
|
|
26
30
|
});
|
|
@@ -29,4 +33,109 @@ export const resolveSchemaSchema = z.object({
|
|
|
29
33
|
url: z.string().url('Must be a valid URL'),
|
|
30
34
|
ref: z.string().regex(/^#\//, 'Reference must start with #/ (e.g., #/components/schemas/User)'),
|
|
31
35
|
});
|
|
36
|
+
// Schema for capture_snapshot tool
|
|
37
|
+
export const captureSnapshotSchema = z.object({}).strict();
|
|
38
|
+
// Schema for list_snapshots tool
|
|
39
|
+
export const listSnapshotsSchema = z
|
|
40
|
+
.object({
|
|
41
|
+
limit: z.number().int().min(1).max(200).optional(),
|
|
42
|
+
})
|
|
43
|
+
.strict();
|
|
44
|
+
// Schema for get_snapshot_diff tool
|
|
45
|
+
export const getSnapshotDiffSchema = z
|
|
46
|
+
.object({
|
|
47
|
+
baselineSnapshotId: z.string().min(1, 'baselineSnapshotId is required'),
|
|
48
|
+
targetSnapshotId: z.string().min(1, 'targetSnapshotId is required'),
|
|
49
|
+
})
|
|
50
|
+
.strict();
|
|
51
|
+
// Schema for get_endpoint_diff_detail tool
|
|
52
|
+
export const getEndpointDiffDetailSchema = z
|
|
53
|
+
.object({
|
|
54
|
+
baselineSnapshotId: z.string().min(1, 'baselineSnapshotId is required'),
|
|
55
|
+
targetSnapshotId: z.string().min(1, 'targetSnapshotId is required'),
|
|
56
|
+
path: z.string().min(1, 'path is required'),
|
|
57
|
+
method: httpMethodSchema,
|
|
58
|
+
})
|
|
59
|
+
.strict();
|
|
60
|
+
export const listEndpointChangeHistorySchema = z
|
|
61
|
+
.object({
|
|
62
|
+
limit: z.number().int().min(1).max(200).optional(),
|
|
63
|
+
path: z.string().min(1, 'path must not be empty').optional(),
|
|
64
|
+
method: httpMethodSchema.optional(),
|
|
65
|
+
})
|
|
66
|
+
.strict()
|
|
67
|
+
.superRefine((value, context) => {
|
|
68
|
+
const hasPath = typeof value.path === 'string';
|
|
69
|
+
const hasMethod = typeof value.method === 'string';
|
|
70
|
+
if (hasPath !== hasMethod) {
|
|
71
|
+
context.addIssue({
|
|
72
|
+
code: z.ZodIssueCode.custom,
|
|
73
|
+
message: 'path and method must be provided together.',
|
|
74
|
+
path: hasPath ? ['method'] : ['path'],
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
// Schema for list_snapshots output
|
|
79
|
+
export const listSnapshotItemSchema = z
|
|
80
|
+
.object({
|
|
81
|
+
id: z.string().min(1),
|
|
82
|
+
sourceId: z.string().min(1),
|
|
83
|
+
specHash: z.string().min(1),
|
|
84
|
+
documentFingerprint: z.string().min(1),
|
|
85
|
+
capturedAt: z.string().datetime({ offset: true }),
|
|
86
|
+
})
|
|
87
|
+
.strict();
|
|
88
|
+
export const listSnapshotsResultSchema = z
|
|
89
|
+
.object({
|
|
90
|
+
projectKey: z.string().min(1),
|
|
91
|
+
sourceUrl: z.string().url(),
|
|
92
|
+
snapshots: z.array(listSnapshotItemSchema),
|
|
93
|
+
})
|
|
94
|
+
.strict();
|
|
95
|
+
// Schema for get_endpoint_diff_detail output
|
|
96
|
+
export const endpointDiffDetailOutputSchema = z
|
|
97
|
+
.object({
|
|
98
|
+
baselineSnapshotId: z.string().min(1),
|
|
99
|
+
targetSnapshotId: z.string().min(1),
|
|
100
|
+
path: z.string().min(1),
|
|
101
|
+
method: z.enum(SUPPORTED_HTTP_METHODS),
|
|
102
|
+
hasChange: z.boolean(),
|
|
103
|
+
classification: z.enum(['breaking', 'non-breaking', 'info']).nullable(),
|
|
104
|
+
changeReason: z.string().nullable(),
|
|
105
|
+
details: z.array(z
|
|
106
|
+
.object({
|
|
107
|
+
reason: z.string().min(1),
|
|
108
|
+
classification: z.enum(['breaking', 'non-breaking', 'info']),
|
|
109
|
+
message: z.string().min(1),
|
|
110
|
+
metadata: z.record(z.unknown()).optional(),
|
|
111
|
+
})
|
|
112
|
+
.strict()),
|
|
113
|
+
before: z.unknown().nullable(),
|
|
114
|
+
after: z.unknown().nullable(),
|
|
115
|
+
})
|
|
116
|
+
.strict();
|
|
117
|
+
export const endpointChangeHistoryEventSchema = z
|
|
118
|
+
.object({
|
|
119
|
+
baselineSnapshotId: z.string().min(1),
|
|
120
|
+
targetSnapshotId: z.string().min(1),
|
|
121
|
+
path: z.string().min(1),
|
|
122
|
+
method: httpMethodSchema,
|
|
123
|
+
classification: z.enum(['breaking', 'non-breaking', 'info']),
|
|
124
|
+
changeReason: z.string().min(1),
|
|
125
|
+
changedAt: z.string().datetime({ offset: true }),
|
|
126
|
+
})
|
|
127
|
+
.strict();
|
|
128
|
+
export const listEndpointChangeHistoryResultSchema = z
|
|
129
|
+
.object({
|
|
130
|
+
projectKey: z.string().min(1),
|
|
131
|
+
sourceUrl: z.string().url(),
|
|
132
|
+
filter: z
|
|
133
|
+
.object({
|
|
134
|
+
path: z.string().min(1).nullable(),
|
|
135
|
+
method: httpMethodSchema.nullable(),
|
|
136
|
+
})
|
|
137
|
+
.strict(),
|
|
138
|
+
events: z.array(endpointChangeHistoryEventSchema),
|
|
139
|
+
})
|
|
140
|
+
.strict();
|
|
32
141
|
//# sourceMappingURL=schemas.js.map
|
package/dist/schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,sBAAsB,EAAE,MA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