@abapify/adt-server 0.0.0 → 0.4.5

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/rest-schemas.ts","../src/atc-documentation-capabilities.ts","../src/source-capabilities.ts","../src/page-cursors.ts","../src/request-handler.ts","../src/server.ts","../src/openapi.ts","../src/broker.ts","../src/mcp-runtime.ts","../src/rest-runtime.ts"],"mappings":";;;;;cAuBa,6BAA2B,EAAA;;GAI7B,EAAA,KAAA;;cAodE,YAAU,EAAA;;;;;;;;;;;;;;;GAwBZ,EAAA,KAAA;;cAWE,oBAAkB,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BpB,EAAA,KAAA;iBAiCK,0BAA0B;;;;;;;;;;iBAU1B,wBAAwB;;;;;;;;;;iBAQxB,uBAAuB;;;;;;;;;;;;KAqB3B,+BAA+B,EAAE,aACpC;KAGG,aAAa,EAAE,aAAa;KAG5B,0BAA0B,kBAC7B;KAGG,wBAAwB,kBAC3B;KAGG,uBAAuB,kBAC1B;;;UC3nBQ;;EAEf;EACA;EACA;;;;;;iBAWc,4CACd,SAAS;EAYM,MAAA;IAAE;IAAqB;;EAGrB,QAAA;IAAE;IAAiC;;IAChD;;;;;UCjCW;;EAEf;EACA;EACA;;;;;;iBAgBc,kCACd,SAAS;EAYM,MAAA;IAAE;IAAqB;;EAGrB,QAAA;IAAE;IAA0B;;IACzC;;;;;UC9BW;;EAEf;EACA;;;;;;iBAac,4BACd,SAAS;EAiEE,SAAA,GAAC;IACR,eAAe;IACf;IACA;IACA;IACA;IACA,QAAQ,MAAM;;IAEd,MAAM;IACN;IACA;IACA;;;;;KCrDD;EACH;;KAGU;EACV;EACA;EACA,WAAW;IAAgB;KAAe;;EAC1C,SAAS;IACP;MACE;MACA;;IAEF,OAAO;IACP,OAAO;;;KAIC;EACV;EACA,UAAU,MACR,KAAK,EAAE,aAAa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;;KC9iDnC,qBAAqB,SAAS;UAElB;EACf,KAAK;EACL,eAAe;;EAEf,gCAAgC,YAC9B;;EAGF,yBAAyB,YAAY;;;;EAIrC,sBAAsB,YAAY;;;;;;iBA4Bd,4BAA4B;EAChD;EACA,iBAAiB;IACf;;;;;;iBAgMkB,0BACpB,SAAS,6BACR,QAAQ;;;UCxPM;EACf;EACA;EACA;;KAGU,sBAAsB,KAChC;;;;;;iBAoBoB,wBACpB,SAAS,6BACR,QAAQ"}
package/dist/index.mjs ADDED
@@ -0,0 +1,4 @@
1
+ import { a as createHttpDestinationContexts, i as createHttpBrokerOperations, n as createAdtServerMcpOptions, o as startAdtServer, r as executeWithDeadlineAndAbort, t as loadRestRuntimeSecurity } from "./rest-runtime-QwD2kRXE.mjs";
2
+ import { n as openApiYaml, t as openApiDocument } from "./openapi-DRwts-9_.mjs";
3
+
4
+ export { createAdtServerMcpOptions, createHttpBrokerOperations, createHttpDestinationContexts, executeWithDeadlineAndAbort, loadRestRuntimeSecurity, openApiDocument, openApiYaml, startAdtServer };
@@ -0,0 +1,3 @@
1
+ import { n as openApiYaml, t as openApiDocument } from "./openapi-DRwts-9_.mjs";
2
+
3
+ export { openApiDocument, openApiYaml };
@@ -0,0 +1,390 @@
1
+ import { A as sourceVersionReadResponse, C as packageTreeQuery, F as transportSearchQuery, I as transportSourceManifestBody, L as transportSourceManifestResponse, M as transportListResponse, N as transportObjectsResponse, P as transportPathParameter, _ as objectSourceReadBody, a as atcDocumentationReadResponse, b as packagePathParameter, c as atcRunResponse, d as objectMetadataResponse, f as objectNamePathParameter, g as objectSourceHistoryResponse, i as atcDocumentationReadBody, j as transportDetailResponse, k as sourceVersionReadBody, l as badiResponse, m as objectSearchQuery, p as objectPageResponse, s as atcRunBody, u as destinationSummaryResponse, v as objectTypePathParameter, x as packageSearchQuery, y as packagePageResponse } from "./rest-schemas-Dwj5ck3i.mjs";
2
+ import { z } from "zod";
3
+ import YAML from "yaml";
4
+
5
+ //#region src/openapi.ts
6
+ const atcDocumentationReadBodySchema = z.toJSONSchema(atcDocumentationReadBody);
7
+ const atcDocumentationReadResponseSchema = z.toJSONSchema(atcDocumentationReadResponse);
8
+ const atcRunBodySchema = z.toJSONSchema(atcRunBody);
9
+ const atcRunResponseSchema = z.toJSONSchema(atcRunResponse);
10
+ const destinationSummaryResponseSchema = z.toJSONSchema(destinationSummaryResponse);
11
+ const transportSourceManifestSchema = z.toJSONSchema(transportSourceManifestBody);
12
+ const sourceVersionReadSchema = z.toJSONSchema(sourceVersionReadBody);
13
+ const sourceVersionReadResponseSchema = z.toJSONSchema(sourceVersionReadResponse);
14
+ const transportSourceManifestResponseSchema = z.toJSONSchema(transportSourceManifestResponse);
15
+ const packagePageResponseSchema = z.toJSONSchema(packagePageResponse);
16
+ const packageSearchQuerySchema = z.toJSONSchema(packageSearchQuery);
17
+ const packageTreeQuerySchema = z.toJSONSchema(packageTreeQuery);
18
+ const objectPageResponseSchema = z.toJSONSchema(objectPageResponse);
19
+ const objectMetadataResponseSchema = z.toJSONSchema(objectMetadataResponse);
20
+ const badiResponseSchema = z.toJSONSchema(badiResponse);
21
+ const objectSourceHistoryResponseSchema = z.toJSONSchema(objectSourceHistoryResponse);
22
+ const objectSourceReadBodySchema = z.toJSONSchema(objectSourceReadBody);
23
+ const objectSearchQuerySchema = z.toJSONSchema(objectSearchQuery);
24
+ const objectTypePathParameterSchema = z.toJSONSchema(objectTypePathParameter);
25
+ const objectNamePathParameterSchema = z.toJSONSchema(objectNamePathParameter);
26
+ const packagePathParameterSchema = z.toJSONSchema(packagePathParameter);
27
+ const transportSearchQuerySchema = z.toJSONSchema(transportSearchQuery);
28
+ const transportListResponseSchema = z.toJSONSchema(transportListResponse);
29
+ const transportDetailResponseSchema = z.toJSONSchema(transportDetailResponse);
30
+ const transportObjectsResponseSchema = z.toJSONSchema(transportObjectsResponse);
31
+ const transportPathParameterSchema = z.toJSONSchema(transportPathParameter);
32
+ const transportQueryProperties = transportSearchQuerySchema.properties;
33
+ const packageQueryProperties = packageSearchQuerySchema.properties;
34
+ const packageTreeQueryProperties = packageTreeQuerySchema.properties;
35
+ const objectQueryProperties = objectSearchQuerySchema.properties;
36
+ function transportQueryParameter(name, description) {
37
+ return {
38
+ name,
39
+ in: "query",
40
+ required: false,
41
+ description,
42
+ schema: transportQueryProperties[name]
43
+ };
44
+ }
45
+ function packageQueryParameter(name, description) {
46
+ return {
47
+ name,
48
+ in: "query",
49
+ required: false,
50
+ description,
51
+ schema: packageQueryProperties[name]
52
+ };
53
+ }
54
+ function objectQueryParameter(name, description) {
55
+ return {
56
+ name,
57
+ in: "query",
58
+ required: false,
59
+ description,
60
+ schema: objectQueryProperties[name]
61
+ };
62
+ }
63
+ /** Deterministic, owned OpenAPI document. Route schemas are deliberately
64
+ * destination-only; SAP URLs and credentials never occur in this contract. */
65
+ const openApiDocument = {
66
+ openapi: "3.1.0",
67
+ info: {
68
+ title: "ADT Server",
69
+ version: "1.0.0"
70
+ },
71
+ paths: {
72
+ "/v1/destinations": { get: {
73
+ operationId: "listDestinations",
74
+ responses: { "200": {
75
+ description: "Accessible safe destination summaries",
76
+ content: { "application/json": { schema: destinationSummaryResponseSchema } }
77
+ } }
78
+ } },
79
+ "/v1/destinations/{destination}/transports": { get: {
80
+ operationId: "listTransports",
81
+ parameters: [
82
+ { $ref: "#/components/parameters/destination" },
83
+ transportQueryParameter("owner", "Case-insensitive owner match"),
84
+ transportQueryParameter("type", "Case-insensitive CTS type match"),
85
+ transportQueryParameter("status", "Case-insensitive normalized status match"),
86
+ transportQueryParameter("target", "Case-insensitive target match"),
87
+ transportQueryParameter("dateFrom", "Inclusive changed date, YYYY-MM-DD"),
88
+ transportQueryParameter("dateTo", "Inclusive changed date, YYYY-MM-DD"),
89
+ transportQueryParameter("text", "Description/owner text, exact transport or explicit prefix"),
90
+ transportQueryParameter("includeTasks", "Whether task transport headers are included")
91
+ ],
92
+ responses: {
93
+ "200": {
94
+ description: "Normalized system-wide transport headers",
95
+ content: { "application/json": { schema: transportListResponseSchema } }
96
+ },
97
+ "400": { description: "Invalid request" }
98
+ }
99
+ } },
100
+ "/v1/destinations/{destination}/transports/{transport}": { get: {
101
+ operationId: "getTransportDetail",
102
+ parameters: [{ $ref: "#/components/parameters/destination" }, { $ref: "#/components/parameters/transport" }],
103
+ responses: {
104
+ "200": {
105
+ description: "Request/task hierarchy with canonical object references",
106
+ content: { "application/json": { schema: transportDetailResponseSchema } }
107
+ },
108
+ "400": { description: "Invalid request" }
109
+ }
110
+ } },
111
+ "/v1/destinations/{destination}/transports/{transport}/objects": { get: {
112
+ operationId: "listTransportObjects",
113
+ parameters: [{ $ref: "#/components/parameters/destination" }, { $ref: "#/components/parameters/transport" }],
114
+ responses: {
115
+ "200": {
116
+ description: "Canonical object references aggregated over request and tasks",
117
+ content: { "application/json": { schema: transportObjectsResponseSchema } }
118
+ },
119
+ "400": { description: "Invalid request" }
120
+ }
121
+ } },
122
+ "/v1/destinations/{destination}/transport-source-manifests": { post: {
123
+ operationId: "buildTransportSourceManifest",
124
+ parameters: [{ $ref: "#/components/parameters/destination" }],
125
+ requestBody: {
126
+ required: true,
127
+ content: { "application/json": { schema: transportSourceManifestSchema } }
128
+ },
129
+ responses: {
130
+ "200": {
131
+ description: "Metadata-only transport source manifest with opaque source capabilities",
132
+ content: { "application/json": { schema: transportSourceManifestResponseSchema } }
133
+ },
134
+ "400": { description: "Invalid request" }
135
+ }
136
+ } },
137
+ "/v1/destinations/{destination}/source-versions:read": { post: {
138
+ operationId: "readSourceVersion",
139
+ parameters: [{ $ref: "#/components/parameters/destination" }],
140
+ requestBody: {
141
+ required: true,
142
+ content: { "application/json": { schema: sourceVersionReadSchema } }
143
+ },
144
+ responses: {
145
+ "200": {
146
+ description: "Complete immutable source body under byte cap",
147
+ content: { "application/json": { schema: sourceVersionReadResponseSchema } }
148
+ },
149
+ "400": { description: "Invalid request" },
150
+ "404": { description: "Source capability unavailable" },
151
+ "413": { description: "Source exceeds requested byte cap" }
152
+ }
153
+ } },
154
+ "/v1/destinations/{destination}/packages": { get: {
155
+ operationId: "searchPackages",
156
+ parameters: [
157
+ { $ref: "#/components/parameters/destination" },
158
+ packageQueryParameter("q", "Package prefix or wildcard query"),
159
+ packageQueryParameter("maxResults", "Bounded upstream package search cap"),
160
+ packageQueryParameter("limit", "Page size, maximum 200"),
161
+ packageQueryParameter("cursor", "Opaque query-bound page cursor")
162
+ ],
163
+ responses: {
164
+ "200": {
165
+ description: "Bounded canonical package search page",
166
+ content: { "application/json": { schema: packagePageResponseSchema } }
167
+ },
168
+ "400": { description: "Invalid request" }
169
+ }
170
+ } },
171
+ "/v1/destinations/{destination}/packages/tree": { get: {
172
+ operationId: "getPackageTree",
173
+ parameters: [
174
+ { $ref: "#/components/parameters/destination" },
175
+ {
176
+ name: "root",
177
+ in: "query",
178
+ required: true,
179
+ description: "Named package root. The service never enumerates a global package forest.",
180
+ schema: packageTreeQueryProperties.root
181
+ },
182
+ {
183
+ name: "limit",
184
+ in: "query",
185
+ required: false,
186
+ description: "Page size, maximum 200",
187
+ schema: packageTreeQueryProperties.limit
188
+ },
189
+ {
190
+ name: "cursor",
191
+ in: "query",
192
+ required: false,
193
+ description: "Opaque root-bound page cursor",
194
+ schema: packageTreeQueryProperties.cursor
195
+ }
196
+ ],
197
+ responses: {
198
+ "200": {
199
+ description: "Bounded canonical package subtree rooted at the requested package",
200
+ content: { "application/json": { schema: packagePageResponseSchema } }
201
+ },
202
+ "400": { description: "Invalid request" }
203
+ }
204
+ } },
205
+ "/v1/destinations/{destination}/packages/{package}/objects": { get: {
206
+ operationId: "listPackageObjects",
207
+ parameters: [
208
+ { $ref: "#/components/parameters/destination" },
209
+ { $ref: "#/components/parameters/package" },
210
+ objectQueryParameter("limit", "Page size, maximum 200"),
211
+ objectQueryParameter("cursor", "Opaque package-bound page cursor")
212
+ ],
213
+ responses: {
214
+ "200": {
215
+ description: "Bounded direct package objects with canonical identity",
216
+ content: { "application/json": { schema: objectPageResponseSchema } }
217
+ },
218
+ "400": { description: "Invalid request" }
219
+ }
220
+ } },
221
+ "/v1/destinations/{destination}/objects": { get: {
222
+ operationId: "searchObjects",
223
+ parameters: [
224
+ { $ref: "#/components/parameters/destination" },
225
+ objectQueryParameter("query", "Object prefix or wildcard query"),
226
+ objectQueryParameter("packageName", "Exact package filter"),
227
+ objectQueryParameter("objectType", "Repository object type filter"),
228
+ objectQueryParameter("maxResults", "Bounded upstream object search cap"),
229
+ objectQueryParameter("limit", "Page size, maximum 200"),
230
+ objectQueryParameter("cursor", "Opaque query-bound page cursor")
231
+ ],
232
+ responses: {
233
+ "200": {
234
+ description: "Bounded canonical repository object search page",
235
+ content: { "application/json": { schema: objectPageResponseSchema } }
236
+ },
237
+ "400": { description: "Invalid request" }
238
+ }
239
+ } },
240
+ "/v1/destinations/{destination}/objects/{type}/{name}": { get: {
241
+ operationId: "getObjectMetadata",
242
+ parameters: [
243
+ { $ref: "#/components/parameters/destination" },
244
+ { $ref: "#/components/parameters/objectType" },
245
+ { $ref: "#/components/parameters/objectName" }
246
+ ],
247
+ responses: {
248
+ "200": {
249
+ description: "Canonical object metadata, facets and allowlisted relation capabilities",
250
+ content: { "application/json": { schema: objectMetadataResponseSchema } }
251
+ },
252
+ "400": { description: "Invalid request" }
253
+ }
254
+ } },
255
+ "/v1/destinations/{destination}/badi/{name}": { get: {
256
+ operationId: "getBadi",
257
+ parameters: [
258
+ { $ref: "#/components/parameters/destination" },
259
+ {
260
+ name: "name",
261
+ in: "path",
262
+ required: true,
263
+ schema: objectNamePathParameterSchema,
264
+ description: "BAdI name — definition, implementation, or ENHO container"
265
+ },
266
+ {
267
+ name: "implementations",
268
+ in: "query",
269
+ required: false,
270
+ schema: { type: "boolean" },
271
+ description: "When name is a classic definition (SXSD/XD), include its SXCI/XI implementations"
272
+ }
273
+ ],
274
+ responses: {
275
+ "200": {
276
+ description: "Canonical BAdI metadata; kind is resolved from repository type",
277
+ content: { "application/json": { schema: badiResponseSchema } }
278
+ },
279
+ "400": { description: "Invalid request" }
280
+ }
281
+ } },
282
+ "/v1/destinations/{destination}/objects/{type}/{name}/source-history": { get: {
283
+ operationId: "getObjectSourceHistory",
284
+ parameters: [
285
+ { $ref: "#/components/parameters/destination" },
286
+ { $ref: "#/components/parameters/objectType" },
287
+ { $ref: "#/components/parameters/objectName" }
288
+ ],
289
+ responses: {
290
+ "200": {
291
+ description: "Metadata-only canonical object source history",
292
+ content: { "application/json": { schema: objectSourceHistoryResponseSchema } }
293
+ },
294
+ "400": { description: "Invalid request" }
295
+ }
296
+ } },
297
+ "/v1/destinations/{destination}/objects/{type}/{name}/source:read": { post: {
298
+ operationId: "readObjectSource",
299
+ parameters: [
300
+ { $ref: "#/components/parameters/destination" },
301
+ { $ref: "#/components/parameters/objectType" },
302
+ { $ref: "#/components/parameters/objectName" }
303
+ ],
304
+ requestBody: {
305
+ required: true,
306
+ content: { "application/json": { schema: objectSourceReadBodySchema } }
307
+ },
308
+ responses: {
309
+ "200": {
310
+ description: "Complete bounded canonical object source body",
311
+ content: { "application/json": { schema: sourceVersionReadResponseSchema } }
312
+ },
313
+ "400": { description: "Invalid request" },
314
+ "413": { description: "Source exceeds the fixed byte cap" }
315
+ }
316
+ } },
317
+ "/v1/destinations/{destination}/atc-runs": { post: {
318
+ operationId: "runAtc",
319
+ parameters: [{ $ref: "#/components/parameters/destination" }],
320
+ requestBody: {
321
+ required: true,
322
+ content: { "application/json": { schema: atcRunBodySchema } }
323
+ },
324
+ responses: {
325
+ "200": {
326
+ description: "Normalized ATC findings with opaque documentation capabilities",
327
+ content: { "application/json": { schema: atcRunResponseSchema } }
328
+ },
329
+ "400": { description: "Invalid request" }
330
+ }
331
+ } },
332
+ "/v1/destinations/{destination}/atc-finding-documentation:read": { post: {
333
+ operationId: "readAtcFindingDocumentation",
334
+ parameters: [{ $ref: "#/components/parameters/destination" }],
335
+ requestBody: {
336
+ required: true,
337
+ content: { "application/json": { schema: atcDocumentationReadBodySchema } }
338
+ },
339
+ responses: {
340
+ "200": {
341
+ description: "Complete bounded ATC documentation HTML",
342
+ content: { "application/json": { schema: atcDocumentationReadResponseSchema } }
343
+ },
344
+ "400": { description: "Invalid request" },
345
+ "404": { description: "Documentation capability is unavailable" },
346
+ "413": { description: "Documentation exceeds the byte cap" }
347
+ }
348
+ } }
349
+ },
350
+ components: { parameters: {
351
+ destination: {
352
+ name: "destination",
353
+ in: "path",
354
+ required: true,
355
+ schema: {
356
+ type: "string",
357
+ pattern: "^[a-z][a-z0-9-]{1,62}$"
358
+ }
359
+ },
360
+ transport: {
361
+ name: "transport",
362
+ in: "path",
363
+ required: true,
364
+ schema: transportPathParameterSchema
365
+ },
366
+ package: {
367
+ name: "package",
368
+ in: "path",
369
+ required: true,
370
+ schema: packagePathParameterSchema
371
+ },
372
+ objectType: {
373
+ name: "type",
374
+ in: "path",
375
+ required: true,
376
+ schema: objectTypePathParameterSchema
377
+ },
378
+ objectName: {
379
+ name: "name",
380
+ in: "path",
381
+ required: true,
382
+ schema: objectNamePathParameterSchema
383
+ }
384
+ } }
385
+ };
386
+ const openApiYaml = () => YAML.stringify(openApiDocument);
387
+
388
+ //#endregion
389
+ export { openApiYaml as n, openApiDocument as t };
390
+ //# sourceMappingURL=openapi-DRwts-9_.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openapi-DRwts-9_.mjs","names":[],"sources":["../src/openapi.ts"],"sourcesContent":["import YAML from 'yaml';\nimport { z } from 'zod';\nimport {\n atcDocumentationReadBody,\n atcDocumentationReadResponse,\n atcRunBody,\n atcRunResponse,\n destinationSummaryResponse,\n objectMetadataResponse,\n badiResponse,\n objectNamePathParameter,\n objectPageResponse,\n objectSearchQuery,\n objectSourceReadBody,\n objectSourceHistoryResponse,\n objectTypePathParameter,\n packagePathParameter,\n packagePageResponse,\n packageSearchQuery,\n packageTreeQuery,\n sourceVersionReadBody,\n sourceVersionReadResponse,\n transportDetailResponse,\n transportListResponse,\n transportObjectsResponse,\n transportPathParameter,\n transportSearchQuery,\n transportSourceManifestBody,\n transportSourceManifestResponse,\n} from './rest-schemas.js';\n\nconst atcDocumentationReadBodySchema = z.toJSONSchema(atcDocumentationReadBody);\nconst atcDocumentationReadResponseSchema = z.toJSONSchema(\n atcDocumentationReadResponse,\n);\nconst atcRunBodySchema = z.toJSONSchema(atcRunBody);\nconst atcRunResponseSchema = z.toJSONSchema(atcRunResponse);\nconst destinationSummaryResponseSchema = z.toJSONSchema(\n destinationSummaryResponse,\n);\n\nconst transportSourceManifestSchema = z.toJSONSchema(\n transportSourceManifestBody,\n);\nconst sourceVersionReadSchema = z.toJSONSchema(sourceVersionReadBody);\nconst sourceVersionReadResponseSchema = z.toJSONSchema(\n sourceVersionReadResponse,\n);\nconst transportSourceManifestResponseSchema = z.toJSONSchema(\n transportSourceManifestResponse,\n);\nconst packagePageResponseSchema = z.toJSONSchema(packagePageResponse);\nconst packageSearchQuerySchema = z.toJSONSchema(packageSearchQuery);\nconst packageTreeQuerySchema = z.toJSONSchema(packageTreeQuery);\nconst objectPageResponseSchema = z.toJSONSchema(objectPageResponse);\nconst objectMetadataResponseSchema = z.toJSONSchema(objectMetadataResponse);\nconst badiResponseSchema = z.toJSONSchema(badiResponse);\nconst objectSourceHistoryResponseSchema = z.toJSONSchema(\n objectSourceHistoryResponse,\n);\nconst objectSourceReadBodySchema = z.toJSONSchema(objectSourceReadBody);\nconst objectSearchQuerySchema = z.toJSONSchema(objectSearchQuery);\nconst objectTypePathParameterSchema = z.toJSONSchema(objectTypePathParameter);\nconst objectNamePathParameterSchema = z.toJSONSchema(objectNamePathParameter);\nconst packagePathParameterSchema = z.toJSONSchema(packagePathParameter);\nconst transportSearchQuerySchema = z.toJSONSchema(transportSearchQuery);\nconst transportListResponseSchema = z.toJSONSchema(transportListResponse);\nconst transportDetailResponseSchema = z.toJSONSchema(transportDetailResponse);\nconst transportObjectsResponseSchema = z.toJSONSchema(transportObjectsResponse);\nconst transportPathParameterSchema = z.toJSONSchema(transportPathParameter);\nconst transportQueryProperties =\n transportSearchQuerySchema.properties as Record<string, unknown>;\nconst packageQueryProperties = packageSearchQuerySchema.properties as Record<\n string,\n unknown\n>;\nconst packageTreeQueryProperties = packageTreeQuerySchema.properties as Record<\n string,\n unknown\n>;\nconst objectQueryProperties = objectSearchQuerySchema.properties as Record<\n string,\n unknown\n>;\n\nfunction transportQueryParameter(name: string, description: string) {\n return {\n name,\n in: 'query',\n required: false,\n description,\n schema: transportQueryProperties[name],\n };\n}\n\nfunction packageQueryParameter(name: string, description: string) {\n return {\n name,\n in: 'query',\n required: false,\n description,\n schema: packageQueryProperties[name],\n };\n}\n\nfunction objectQueryParameter(name: string, description: string) {\n return {\n name,\n in: 'query',\n required: false,\n description,\n schema: objectQueryProperties[name],\n };\n}\n\n/** Deterministic, owned OpenAPI document. Route schemas are deliberately\n * destination-only; SAP URLs and credentials never occur in this contract. */\nexport const openApiDocument = {\n openapi: '3.1.0',\n info: { title: 'ADT Server', version: '1.0.0' },\n paths: {\n '/v1/destinations': {\n get: {\n operationId: 'listDestinations',\n responses: {\n '200': {\n description: 'Accessible safe destination summaries',\n content: {\n 'application/json': { schema: destinationSummaryResponseSchema },\n },\n },\n },\n },\n },\n '/v1/destinations/{destination}/transports': {\n get: {\n operationId: 'listTransports',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n transportQueryParameter('owner', 'Case-insensitive owner match'),\n transportQueryParameter('type', 'Case-insensitive CTS type match'),\n transportQueryParameter(\n 'status',\n 'Case-insensitive normalized status match',\n ),\n transportQueryParameter('target', 'Case-insensitive target match'),\n transportQueryParameter(\n 'dateFrom',\n 'Inclusive changed date, YYYY-MM-DD',\n ),\n transportQueryParameter(\n 'dateTo',\n 'Inclusive changed date, YYYY-MM-DD',\n ),\n transportQueryParameter(\n 'text',\n 'Description/owner text, exact transport or explicit prefix',\n ),\n transportQueryParameter(\n 'includeTasks',\n 'Whether task transport headers are included',\n ),\n ],\n responses: {\n '200': {\n description: 'Normalized system-wide transport headers',\n content: {\n 'application/json': { schema: transportListResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/transports/{transport}': {\n get: {\n operationId: 'getTransportDetail',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n { $ref: '#/components/parameters/transport' },\n ],\n responses: {\n '200': {\n description:\n 'Request/task hierarchy with canonical object references',\n content: {\n 'application/json': { schema: transportDetailResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/transports/{transport}/objects': {\n get: {\n operationId: 'listTransportObjects',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n { $ref: '#/components/parameters/transport' },\n ],\n responses: {\n '200': {\n description:\n 'Canonical object references aggregated over request and tasks',\n content: {\n 'application/json': { schema: transportObjectsResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/transport-source-manifests': {\n post: {\n operationId: 'buildTransportSourceManifest',\n parameters: [{ $ref: '#/components/parameters/destination' }],\n requestBody: {\n required: true,\n content: {\n 'application/json': {\n schema: transportSourceManifestSchema,\n },\n },\n },\n responses: {\n '200': {\n description:\n 'Metadata-only transport source manifest with opaque source capabilities',\n content: {\n 'application/json': {\n schema: transportSourceManifestResponseSchema,\n },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/source-versions:read': {\n post: {\n operationId: 'readSourceVersion',\n parameters: [{ $ref: '#/components/parameters/destination' }],\n requestBody: {\n required: true,\n content: {\n 'application/json': {\n schema: sourceVersionReadSchema,\n },\n },\n },\n responses: {\n '200': {\n description: 'Complete immutable source body under byte cap',\n content: {\n 'application/json': { schema: sourceVersionReadResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n '404': { description: 'Source capability unavailable' },\n '413': { description: 'Source exceeds requested byte cap' },\n },\n },\n },\n '/v1/destinations/{destination}/packages': {\n get: {\n operationId: 'searchPackages',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n packageQueryParameter('q', 'Package prefix or wildcard query'),\n packageQueryParameter(\n 'maxResults',\n 'Bounded upstream package search cap',\n ),\n packageQueryParameter('limit', 'Page size, maximum 200'),\n packageQueryParameter('cursor', 'Opaque query-bound page cursor'),\n ],\n responses: {\n '200': {\n description: 'Bounded canonical package search page',\n content: {\n 'application/json': { schema: packagePageResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/packages/tree': {\n get: {\n operationId: 'getPackageTree',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n {\n name: 'root',\n in: 'query',\n required: true,\n description:\n 'Named package root. The service never enumerates a global package forest.',\n schema: packageTreeQueryProperties.root,\n },\n {\n name: 'limit',\n in: 'query',\n required: false,\n description: 'Page size, maximum 200',\n schema: packageTreeQueryProperties.limit,\n },\n {\n name: 'cursor',\n in: 'query',\n required: false,\n description: 'Opaque root-bound page cursor',\n schema: packageTreeQueryProperties.cursor,\n },\n ],\n responses: {\n '200': {\n description:\n 'Bounded canonical package subtree rooted at the requested package',\n content: {\n 'application/json': { schema: packagePageResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/packages/{package}/objects': {\n get: {\n operationId: 'listPackageObjects',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n { $ref: '#/components/parameters/package' },\n objectQueryParameter('limit', 'Page size, maximum 200'),\n objectQueryParameter('cursor', 'Opaque package-bound page cursor'),\n ],\n responses: {\n '200': {\n description:\n 'Bounded direct package objects with canonical identity',\n content: {\n 'application/json': { schema: objectPageResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/objects': {\n get: {\n operationId: 'searchObjects',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n objectQueryParameter('query', 'Object prefix or wildcard query'),\n objectQueryParameter('packageName', 'Exact package filter'),\n objectQueryParameter('objectType', 'Repository object type filter'),\n objectQueryParameter(\n 'maxResults',\n 'Bounded upstream object search cap',\n ),\n objectQueryParameter('limit', 'Page size, maximum 200'),\n objectQueryParameter('cursor', 'Opaque query-bound page cursor'),\n ],\n responses: {\n '200': {\n description: 'Bounded canonical repository object search page',\n content: {\n 'application/json': { schema: objectPageResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/objects/{type}/{name}': {\n get: {\n operationId: 'getObjectMetadata',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n { $ref: '#/components/parameters/objectType' },\n { $ref: '#/components/parameters/objectName' },\n ],\n responses: {\n '200': {\n description:\n 'Canonical object metadata, facets and allowlisted relation capabilities',\n content: {\n 'application/json': { schema: objectMetadataResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/badi/{name}': {\n get: {\n operationId: 'getBadi',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n {\n name: 'name',\n in: 'path',\n required: true,\n schema: objectNamePathParameterSchema,\n description:\n 'BAdI name — definition, implementation, or ENHO container',\n },\n {\n name: 'implementations',\n in: 'query',\n required: false,\n schema: { type: 'boolean' },\n description:\n 'When name is a classic definition (SXSD/XD), include its SXCI/XI implementations',\n },\n ],\n responses: {\n '200': {\n description:\n 'Canonical BAdI metadata; kind is resolved from repository type',\n content: {\n 'application/json': { schema: badiResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/objects/{type}/{name}/source-history': {\n get: {\n operationId: 'getObjectSourceHistory',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n { $ref: '#/components/parameters/objectType' },\n { $ref: '#/components/parameters/objectName' },\n ],\n responses: {\n '200': {\n description: 'Metadata-only canonical object source history',\n content: {\n 'application/json': {\n schema: objectSourceHistoryResponseSchema,\n },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/objects/{type}/{name}/source:read': {\n post: {\n operationId: 'readObjectSource',\n parameters: [\n { $ref: '#/components/parameters/destination' },\n { $ref: '#/components/parameters/objectType' },\n { $ref: '#/components/parameters/objectName' },\n ],\n requestBody: {\n required: true,\n content: {\n 'application/json': { schema: objectSourceReadBodySchema },\n },\n },\n responses: {\n '200': {\n description: 'Complete bounded canonical object source body',\n content: {\n 'application/json': { schema: sourceVersionReadResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n '413': { description: 'Source exceeds the fixed byte cap' },\n },\n },\n },\n '/v1/destinations/{destination}/atc-runs': {\n post: {\n operationId: 'runAtc',\n parameters: [{ $ref: '#/components/parameters/destination' }],\n requestBody: {\n required: true,\n content: {\n 'application/json': { schema: atcRunBodySchema },\n },\n },\n responses: {\n '200': {\n description:\n 'Normalized ATC findings with opaque documentation capabilities',\n content: {\n 'application/json': { schema: atcRunResponseSchema },\n },\n },\n '400': { description: 'Invalid request' },\n },\n },\n },\n '/v1/destinations/{destination}/atc-finding-documentation:read': {\n post: {\n operationId: 'readAtcFindingDocumentation',\n parameters: [{ $ref: '#/components/parameters/destination' }],\n requestBody: {\n required: true,\n content: {\n 'application/json': { schema: atcDocumentationReadBodySchema },\n },\n },\n responses: {\n '200': {\n description: 'Complete bounded ATC documentation HTML',\n content: {\n 'application/json': {\n schema: atcDocumentationReadResponseSchema,\n },\n },\n },\n '400': { description: 'Invalid request' },\n '404': { description: 'Documentation capability is unavailable' },\n '413': { description: 'Documentation exceeds the byte cap' },\n },\n },\n },\n },\n components: {\n parameters: {\n destination: {\n name: 'destination',\n in: 'path',\n required: true,\n schema: { type: 'string', pattern: '^[a-z][a-z0-9-]{1,62}$' },\n },\n transport: {\n name: 'transport',\n in: 'path',\n required: true,\n schema: transportPathParameterSchema,\n },\n package: {\n name: 'package',\n in: 'path',\n required: true,\n schema: packagePathParameterSchema,\n },\n objectType: {\n name: 'type',\n in: 'path',\n required: true,\n schema: objectTypePathParameterSchema,\n },\n objectName: {\n name: 'name',\n in: 'path',\n required: true,\n schema: objectNamePathParameterSchema,\n },\n },\n },\n} as const;\n\nexport const openApiYaml = (): string => YAML.stringify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