@classytic/arc 2.11.4 → 2.14.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.
Files changed (167) hide show
  1. package/README.md +16 -12
  2. package/dist/{BaseController-swXruJ2_.mjs → BaseController-DX_T-bDB.mjs} +388 -423
  3. package/dist/EventTransport-CT_52aWU.d.mts +34 -0
  4. package/dist/EventTransport-DLWoUMHy.mjs +103 -0
  5. package/dist/{ResourceRegistry-DkAeAuTX.mjs → ResourceRegistry-CTERg_2x.mjs} +139 -66
  6. package/dist/audit/index.d.mts +2 -2
  7. package/dist/audit/index.mjs +1 -1
  8. package/dist/auth/audit.d.mts +199 -0
  9. package/dist/auth/audit.mjs +288 -0
  10. package/dist/auth/index.d.mts +3 -3
  11. package/dist/auth/index.mjs +117 -191
  12. package/dist/{betterAuthOpenApi-DwxtK3uG.mjs → betterAuthOpenApi--M_i87dQ.mjs} +1 -1
  13. package/dist/buildHandler-olo-gt94.mjs +610 -0
  14. package/dist/cache/index.mjs +3 -3
  15. package/dist/cli/commands/describe.d.mts +89 -13
  16. package/dist/cli/commands/describe.mjs +56 -2
  17. package/dist/cli/commands/docs.mjs +2 -2
  18. package/dist/cli/commands/generate.mjs +147 -48
  19. package/dist/cli/commands/init.d.mts +13 -0
  20. package/dist/cli/commands/init.mjs +130 -87
  21. package/dist/cli/commands/introspect.mjs +8 -1
  22. package/dist/context/index.mjs +1 -1
  23. package/dist/core/index.d.mts +3 -3
  24. package/dist/core/index.mjs +5 -5
  25. package/dist/core-DECn6zaU.mjs +1399 -0
  26. package/dist/{createActionRouter-CIKOcNA7.mjs → createActionRouter-CBxLLbn3.mjs} +7 -20
  27. package/dist/createAggregationRouter-CRIBv4sC.mjs +114 -0
  28. package/dist/{createApp-C9bRrqlX.mjs → createApp-XX2-N0Yd.mjs} +28 -22
  29. package/dist/{defineEvent-D1Ky9M1D.mjs → defineEvent-D5h7EvAx.mjs} +1 -1
  30. package/dist/docs/index.d.mts +24 -11
  31. package/dist/docs/index.mjs +2 -2
  32. package/dist/{elevation-DOFoxoDs.mjs → elevation-DgoeTyfX.mjs} +1 -1
  33. package/dist/errorHandler-Bk-AGhkU.mjs +174 -0
  34. package/dist/errorHandler-DFr45ZG4.d.mts +45 -0
  35. package/dist/errors-j4aJm1Wg.mjs +184 -0
  36. package/dist/{eventPlugin-Cts2-Tfj.mjs → eventPlugin-CaKTYkYM.mjs} +28 -4
  37. package/dist/{eventPlugin-DDJoNEPL.d.mts → eventPlugin-qXpqTebY.d.mts} +24 -1
  38. package/dist/events/index.d.mts +6 -6
  39. package/dist/events/index.mjs +11 -35
  40. package/dist/events/transports/redis-stream-entry.d.mts +1 -1
  41. package/dist/events/transports/redis.d.mts +1 -1
  42. package/dist/factory/index.d.mts +2 -2
  43. package/dist/factory/index.mjs +2 -2
  44. package/dist/{fields-BRjxOAFp.d.mts → fields-COhcH3fk.d.mts} +23 -2
  45. package/dist/hooks/index.d.mts +1 -1
  46. package/dist/hooks/index.mjs +1 -1
  47. package/dist/idempotency/index.d.mts +1 -1
  48. package/dist/idempotency/index.mjs +1 -20
  49. package/dist/idempotency/redis.mjs +1 -1
  50. package/dist/{index-rHjXmJar.d.mts → index-BTqLEvhu.d.mts} +163 -3
  51. package/dist/{index-CXXRbnf8.d.mts → index-BtW7qYwa.d.mts} +660 -326
  52. package/dist/{index-m8mOOlFW.d.mts → index-Ds61mrJE.d.mts} +50 -4
  53. package/dist/{index-D9t1KNaB.d.mts → index-Dz5IKsrE.d.mts} +360 -219
  54. package/dist/index.d.mts +6 -7
  55. package/dist/index.mjs +9 -10
  56. package/dist/integrations/event-gateway.d.mts +1 -1
  57. package/dist/integrations/event-gateway.mjs +1 -1
  58. package/dist/integrations/index.d.mts +1 -1
  59. package/dist/integrations/mcp/index.d.mts +2 -2
  60. package/dist/integrations/mcp/index.mjs +1 -1
  61. package/dist/integrations/mcp/testing.d.mts +1 -1
  62. package/dist/integrations/mcp/testing.mjs +1 -1
  63. package/dist/integrations/streamline.d.mts +60 -11
  64. package/dist/integrations/streamline.mjs +75 -85
  65. package/dist/integrations/websocket.mjs +2 -8
  66. package/dist/middleware/index.d.mts +1 -1
  67. package/dist/middleware/index.mjs +2 -2
  68. package/dist/migrations/index.d.mts +23 -3
  69. package/dist/migrations/index.mjs +0 -7
  70. package/dist/{multipartBody-CvTR1Un6.mjs → multipartBody-BOvVSVCD.mjs} +11 -8
  71. package/dist/openapi-noXno2CV.mjs +968 -0
  72. package/dist/org/index.d.mts +2 -2
  73. package/dist/org/index.mjs +1 -1
  74. package/dist/permissions/index.d.mts +3 -3
  75. package/dist/permissions/index.mjs +3 -3
  76. package/dist/{permissions-gd_aUWrR.mjs → permissions-ohQyv50e.mjs} +404 -176
  77. package/dist/{pipe-DVoIheVC.mjs → pipe-Zr0KXjQe.mjs} +1 -1
  78. package/dist/pipeline/index.d.mts +1 -1
  79. package/dist/pipeline/index.mjs +1 -1
  80. package/dist/plugins/index.d.mts +16 -31
  81. package/dist/plugins/index.mjs +33 -13
  82. package/dist/plugins/response-cache.mjs +1 -1
  83. package/dist/plugins/tracing-entry.mjs +1 -1
  84. package/dist/presets/filesUpload.d.mts +4 -4
  85. package/dist/presets/filesUpload.mjs +6 -9
  86. package/dist/presets/index.d.mts +1 -1
  87. package/dist/presets/index.mjs +1 -1
  88. package/dist/presets/multiTenant.d.mts +1 -1
  89. package/dist/presets/multiTenant.mjs +2 -2
  90. package/dist/presets/search.d.mts +2 -2
  91. package/dist/presets/search.mjs +6 -8
  92. package/dist/{presets-Z7P5w4gF.mjs → presets-BbkjdPeH.mjs} +6 -28
  93. package/dist/{queryCachePlugin-Bq6bO6vc.mjs → queryCachePlugin-m1XsgAIJ.mjs} +3 -3
  94. package/dist/{redis-stream-xTGxB2bm.d.mts → redis-stream-D6HzR1Z_.d.mts} +1 -1
  95. package/dist/registry/index.d.mts +1 -1
  96. package/dist/registry/index.mjs +2 -2
  97. package/dist/{replyHelpers-ByllIXXV.mjs → replyHelpers-CK-FNO8E.mjs} +3 -21
  98. package/dist/{resourceToTools-CxNmI6xF.mjs → resourceToTools-DLL32us3.mjs} +224 -71
  99. package/dist/{routerShared-BqLRb5l7.mjs → routerShared-DrOa-26E.mjs} +41 -36
  100. package/dist/{schemaIR-Dy2p4MxS.mjs → schemaIR-lYhC2gE5.mjs} +1 -1
  101. package/dist/schemas/index.d.mts +100 -30
  102. package/dist/schemas/index.mjs +86 -29
  103. package/dist/scim/index.d.mts +264 -0
  104. package/dist/scim/index.mjs +963 -0
  105. package/dist/scope/index.d.mts +3 -3
  106. package/dist/scope/index.mjs +4 -4
  107. package/dist/{sse-V7aXc3bW.mjs → sse-Bz-5ZeTt.mjs} +1 -1
  108. package/dist/{store-helpers-Cp4uKC1U.mjs → store-helpers-BkIN9-vu.mjs} +1 -1
  109. package/dist/testing/index.d.mts +2 -8
  110. package/dist/testing/index.mjs +16 -24
  111. package/dist/types/index.d.mts +4 -4
  112. package/dist/{types-D7KpfiL1.d.mts → types-BvqwCCSx.d.mts} +73 -25
  113. package/dist/{types-DDyTPc6y.d.mts → types-CTYvcwHe.d.mts} +195 -1
  114. package/dist/{types-AOD8fxIw.mjs → types-C_s5moIu.mjs} +117 -1
  115. package/dist/{types-BQ9TJQNy.d.mts → types-DQHFc8PM.d.mts} +1 -1
  116. package/dist/utils/index.d.mts +2 -2
  117. package/dist/utils/index.mjs +5 -5
  118. package/dist/{utils-CcYTj09l.mjs → utils-_h9B3c57.mjs} +1269 -1334
  119. package/dist/{versioning-DsglKfM_.d.mts → versioning-DTTvc80y.d.mts} +1 -1
  120. package/package.json +24 -34
  121. package/skills/arc/SKILL.md +147 -51
  122. package/skills/arc/references/agent-auth.md +238 -0
  123. package/skills/arc/references/api-reference.md +187 -0
  124. package/skills/arc/references/auth.md +354 -7
  125. package/skills/arc/references/enterprise-auth.md +94 -0
  126. package/skills/arc/references/events.md +8 -6
  127. package/skills/arc/references/mcp.md +2 -2
  128. package/skills/arc/references/multi-tenancy.md +11 -2
  129. package/skills/arc/references/production.md +10 -9
  130. package/skills/arc/references/scim.md +247 -0
  131. package/skills/arc/references/testing.md +1 -1
  132. package/skills/arc-code-review/SKILL.md +141 -0
  133. package/skills/arc-code-review/references/anti-patterns.md +911 -0
  134. package/skills/arc-code-review/references/arc-cheatsheet.md +380 -0
  135. package/skills/arc-code-review/references/migration-recipes.md +700 -0
  136. package/skills/arc-code-review/references/mongokit-migration.md +386 -0
  137. package/skills/arc-code-review/references/scaffolding.md +230 -0
  138. package/skills/arc-code-review/references/severity.md +127 -0
  139. package/dist/EventTransport-BFQjw9pB.mjs +0 -133
  140. package/dist/EventTransport-CYNUXdCJ.d.mts +0 -293
  141. package/dist/adapters/index.d.mts +0 -3
  142. package/dist/adapters/index.mjs +0 -2
  143. package/dist/adapters-DUUiiimH.mjs +0 -964
  144. package/dist/auth/mongoose.d.mts +0 -191
  145. package/dist/auth/mongoose.mjs +0 -73
  146. package/dist/core-CbcQRIch.mjs +0 -1054
  147. package/dist/errorHandler-BQm8ZxTK.mjs +0 -173
  148. package/dist/errorHandler-DEWmGWPz.d.mts +0 -114
  149. package/dist/errors-D5c-5BJL.mjs +0 -232
  150. package/dist/index-Rg8axYPz.d.mts +0 -370
  151. package/dist/openapi-D7G1V7ex.mjs +0 -557
  152. /package/dist/{HookSystem-CGsMd6oK.mjs → HookSystem-Iiebom92.mjs} +0 -0
  153. /package/dist/{actionPermissions-sUUKDhtP.mjs → actionPermissions-CyUkQu6O.mjs} +0 -0
  154. /package/dist/{caching-CheW3m-S.mjs → caching-SM8gghN6.mjs} +0 -0
  155. /package/dist/{constants-BhY1OHoH.mjs → constants-Cxde4rpC.mjs} +0 -0
  156. /package/dist/{elevation-BQQXZ_VR.d.mts → elevation-BXOWoGCF.d.mts} +0 -0
  157. /package/dist/{keys-CARyUjiR.mjs → keys-CGcCbNyu.mjs} +0 -0
  158. /package/dist/{loadResources-CPpkyKfM.mjs → loadResources-DBMQg_Aj.mjs} +0 -0
  159. /package/dist/{memory-DikHSvWa.mjs → memory-UBydS5ku.mjs} +0 -0
  160. /package/dist/{metrics-Csh4nsvv.mjs → metrics-Qnvwc-LQ.mjs} +0 -0
  161. /package/dist/{pluralize-CWP6MB39.mjs → pluralize-DQgqgifU.mjs} +0 -0
  162. /package/dist/{registry-D63ee7fl.mjs → registry-I-ogLgL9.mjs} +0 -0
  163. /package/dist/{requestContext-C5XeK3VA.mjs → requestContext-SSaaTgW8.mjs} +0 -0
  164. /package/dist/{schemaConverter-B0oKLuqI.mjs → schemaConverter-De34B1ZG.mjs} +0 -0
  165. /package/dist/{typeGuards-CcFZXgU7.mjs → typeGuards-BzkXkvVv.mjs} +0 -0
  166. /package/dist/{types-DV9WDfeg.mjs → types-D57iXYb8.mjs} +0 -0
  167. /package/dist/{versioning-CGPjkqAg.mjs → versioning-BUrT5aP4.mjs} +0 -0
@@ -0,0 +1,288 @@
1
+ //#region src/auth/audit.ts
2
+ function compileGlobs(patterns) {
3
+ if (patterns.length === 0) return () => false;
4
+ const regexes = patterns.map((p) => new RegExp(`^${globToRegexBody(p)}$`));
5
+ return (name) => regexes.some((r) => r.test(name));
6
+ }
7
+ function globToRegexBody(pattern) {
8
+ let out = "";
9
+ for (let i = 0; i < pattern.length; i++) {
10
+ const c = pattern[i];
11
+ if (c === "*") {
12
+ if (pattern[i + 1] === "*") {
13
+ out += ".*";
14
+ i++;
15
+ } else out += "[^.]+";
16
+ continue;
17
+ }
18
+ if (/[.+?^${}()|[\]\\]/.test(c ?? "")) out += `\\${c}`;
19
+ else out += c;
20
+ }
21
+ return out;
22
+ }
23
+ const ENDPOINT_TO_EVENT = [
24
+ {
25
+ test: /\/two-factor\/(verify|verify-totp|verify-otp)\b/,
26
+ phase: "after",
27
+ name: "mfa.verify"
28
+ },
29
+ {
30
+ test: /\/two-factor\/(enable|enroll|setup)\b/,
31
+ phase: "after",
32
+ name: "mfa.enroll"
33
+ },
34
+ {
35
+ test: /\/two-factor\/disable\b/,
36
+ phase: "after",
37
+ name: "mfa.disable"
38
+ },
39
+ {
40
+ test: /\/forget-password\b|\/forgot-password\b/,
41
+ phase: "after",
42
+ name: "password.reset.request"
43
+ },
44
+ {
45
+ test: /\/reset-password\b/,
46
+ phase: "after",
47
+ name: "password.reset.complete"
48
+ },
49
+ {
50
+ test: /\/verify-email\b/,
51
+ phase: "after",
52
+ name: "email.verify"
53
+ },
54
+ {
55
+ test: /\/organization\/create\b/,
56
+ phase: "after",
57
+ name: "org.create"
58
+ },
59
+ {
60
+ test: /\/organization\/delete\b/,
61
+ phase: "after",
62
+ name: "org.delete"
63
+ },
64
+ {
65
+ test: /\/organization\/invite\b(?!.*accept|.*reject)/,
66
+ phase: "after",
67
+ name: "org.invite.create"
68
+ },
69
+ {
70
+ test: /\/organization\/(accept-invitation|invite\/accept)\b/,
71
+ phase: "after",
72
+ name: "org.invite.accept"
73
+ },
74
+ {
75
+ test: /\/organization\/(reject-invitation|invite\/reject)\b/,
76
+ phase: "after",
77
+ name: "org.invite.reject"
78
+ },
79
+ {
80
+ test: /\/organization\/add-member\b/,
81
+ phase: "after",
82
+ name: "org.member.add"
83
+ },
84
+ {
85
+ test: /\/organization\/remove-member\b/,
86
+ phase: "after",
87
+ name: "org.member.remove"
88
+ },
89
+ {
90
+ test: /\/organization\/update-member-role\b/,
91
+ phase: "after",
92
+ name: "org.member.role.update"
93
+ },
94
+ {
95
+ test: /\/api-key\/create\b/,
96
+ phase: "after",
97
+ name: "apikey.create"
98
+ },
99
+ {
100
+ test: /\/api-key\/delete\b/,
101
+ phase: "after",
102
+ name: "apikey.delete"
103
+ }
104
+ ];
105
+ function classifyEndpoint(phase, ctx) {
106
+ const path = ctx.path ?? "";
107
+ for (const entry of ENDPOINT_TO_EVENT) if (entry.phase === phase && entry.test.test(path)) return entry.name;
108
+ if (phase === "error" && /\/two-factor\/verify/.test(path)) return "mfa.failed";
109
+ if (phase === "error" && /\/api-key\/create\b/.test(path)) return "apikey.failed";
110
+ return null;
111
+ }
112
+ const DEFAULT_EVENTS = [
113
+ "session.create",
114
+ "session.delete",
115
+ "user.create",
116
+ "user.delete"
117
+ ];
118
+ function wireBetterAuthAudit(opts = {}) {
119
+ const matches = compileGlobs(opts.events ?? DEFAULT_EVENTS);
120
+ const bufferSize = opts.bufferSize ?? 1e3;
121
+ const transform = opts.transform;
122
+ const resolveEndpointEvent = opts.resolveEndpointEvent ?? classifyEndpoint;
123
+ const buffer = [];
124
+ let liveAudit = null;
125
+ let liveLog = null;
126
+ let droppedFromBuffer = 0;
127
+ let dispatchFailures = 0;
128
+ let dispatchAttempts = 0;
129
+ async function dispatch(event) {
130
+ dispatchAttempts++;
131
+ if (!matches(event.name)) return;
132
+ const finalEvent = transform ? await transform(event) : event;
133
+ if (!finalEvent) return;
134
+ if (!liveAudit) {
135
+ if (buffer.length >= bufferSize) {
136
+ buffer.shift();
137
+ droppedFromBuffer++;
138
+ }
139
+ buffer.push(finalEvent);
140
+ return;
141
+ }
142
+ try {
143
+ await liveAudit.custom("auth", finalEvent.subjectId, finalEvent.name, finalEvent.payload, {
144
+ user: finalEvent.userId ? { id: finalEvent.userId } : void 0,
145
+ organizationId: finalEvent.organizationId
146
+ });
147
+ } catch (err) {
148
+ dispatchFailures++;
149
+ liveLog?.warn?.({
150
+ err,
151
+ event: finalEvent.name
152
+ }, "auth audit bridge: dispatch failed");
153
+ }
154
+ }
155
+ async function dispatchEndpoint(phase, ctx) {
156
+ const name = resolveEndpointEvent(phase, ctx);
157
+ if (!name) return;
158
+ const session = ctx.context?.session;
159
+ await dispatch({
160
+ name,
161
+ subjectId: session?.user?.id ?? "",
162
+ userId: session?.user?.id,
163
+ organizationId: session?.activeOrganizationId,
164
+ payload: {
165
+ path: ctx.path,
166
+ method: ctx.method,
167
+ ip: ctx.context?.request?.ip,
168
+ ...phase === "error" && ctx.error ? { error: ctx.error instanceof Error ? ctx.error.message : String(ctx.error) } : {}
169
+ }
170
+ });
171
+ }
172
+ function makeEndpointHook(phase) {
173
+ return {
174
+ matcher: () => true,
175
+ handler: async (ctx) => {
176
+ await dispatchEndpoint(phase, ctx);
177
+ return {};
178
+ }
179
+ };
180
+ }
181
+ return {
182
+ hooks: {
183
+ before: async (ctx) => {
184
+ await dispatchEndpoint("before", ctx);
185
+ return {};
186
+ },
187
+ after: async (ctx) => {
188
+ await dispatchEndpoint("after", ctx);
189
+ return {};
190
+ }
191
+ },
192
+ asPluginHooks() {
193
+ return {
194
+ before: [makeEndpointHook("before")],
195
+ after: [makeEndpointHook("after")]
196
+ };
197
+ },
198
+ databaseHooks: {
199
+ user: {
200
+ create: { after: async (user) => {
201
+ await dispatch({
202
+ name: "user.create",
203
+ subjectId: user.id ?? "",
204
+ userId: user.id
205
+ });
206
+ } },
207
+ update: { after: async (user) => {
208
+ await dispatch({
209
+ name: "user.update",
210
+ subjectId: user.id ?? "",
211
+ userId: user.id
212
+ });
213
+ } },
214
+ delete: { after: async (user) => {
215
+ await dispatch({
216
+ name: "user.delete",
217
+ subjectId: user.id ?? "",
218
+ userId: user.id
219
+ });
220
+ } }
221
+ },
222
+ session: {
223
+ create: { after: async (session) => {
224
+ await dispatch({
225
+ name: "session.create",
226
+ subjectId: session.id ?? "",
227
+ userId: session.userId,
228
+ organizationId: session.activeOrganizationId,
229
+ payload: {
230
+ ip: session.ipAddress,
231
+ userAgent: session.userAgent,
232
+ impersonatedBy: session.impersonatedBy
233
+ }
234
+ });
235
+ } },
236
+ update: { after: async (session) => {
237
+ await dispatch({
238
+ name: "session.update",
239
+ subjectId: session.id ?? "",
240
+ userId: session.userId,
241
+ organizationId: session.activeOrganizationId
242
+ });
243
+ } },
244
+ delete: { after: async (session) => {
245
+ await dispatch({
246
+ name: "session.delete",
247
+ subjectId: session.id ?? "",
248
+ userId: session.userId,
249
+ organizationId: session.activeOrganizationId
250
+ });
251
+ } }
252
+ }
253
+ },
254
+ attach(app) {
255
+ liveAudit = app.audit;
256
+ liveLog = app.log;
257
+ const pending = buffer.splice(0);
258
+ if (droppedFromBuffer > 0) liveLog?.warn?.({
259
+ dropped: droppedFromBuffer,
260
+ bufferSize
261
+ }, "auth audit bridge: pre-attach buffer overflowed; oldest events lost");
262
+ if (pending.length === 0) return;
263
+ Promise.all(pending.map((event) => liveAudit?.custom("auth", event.subjectId, event.name, event.payload, {
264
+ user: event.userId ? { id: event.userId } : void 0,
265
+ organizationId: event.organizationId
266
+ }).catch((err) => {
267
+ dispatchFailures++;
268
+ liveLog?.warn?.({
269
+ err,
270
+ event: event.name
271
+ }, "auth audit bridge: buffered drain failed");
272
+ })));
273
+ },
274
+ emit(event) {
275
+ dispatch(event);
276
+ },
277
+ getStats() {
278
+ return {
279
+ droppedFromBuffer,
280
+ dispatchFailures,
281
+ dispatchAttempts,
282
+ pendingBuffered: buffer.length
283
+ };
284
+ }
285
+ };
286
+ }
287
+ //#endregion
288
+ export { wireBetterAuthAudit };
@@ -1,5 +1,5 @@
1
- import { Ot as AuthHelpers, kt as AuthPluginOptions } from "../index-CXXRbnf8.mjs";
2
- import { c as PermissionCheck } from "../fields-BRjxOAFp.mjs";
1
+ import { Rt as AuthHelpers, zt as AuthPluginOptions } from "../index-BtW7qYwa.mjs";
2
+ import { c as PermissionCheck } from "../fields-COhcH3fk.mjs";
3
3
  import { t as ExternalOpenApiPaths } from "../externalPaths-BD5nw6St.mjs";
4
4
  import { a as SessionManagerOptions, c as createSessionManager, i as SessionData, n as MemorySessionStoreOptions, o as SessionManagerResult, r as SessionCookieOptions, s as SessionStore, t as MemorySessionStore } from "../sessionManager-C4Le_UB3.mjs";
5
5
  import { FastifyPluginAsync, FastifyReply as FastifyReply$1, FastifyRequest } from "fastify";
@@ -61,7 +61,7 @@ interface BetterAuthAdapterOptions {
61
61
  /**
62
62
  * OpenAPI documentation for auth endpoints.
63
63
  * - `true` (default): auto-extract from auth.api if available
64
- * - `false`: disable (auth routes won't appear in OpenAPI docs)
64
+ * - `false`: disable (auth routes won't appear in OpenAPI data)
65
65
  * - `ExternalOpenApiPaths`: manual spec override
66
66
  */
67
67
  openapi?: boolean | ExternalOpenApiPaths;