History

fmt

Rhys Sullivan committed 6 months ago

Commit c92c57d1 parent 87ab5c7265 files · +5705 −8140Browse files

Showing the changes to examples/all-plugins/src (1 of 265 files). Show all

Unified · Split

examples/all-plugins/src/main.ts+3−10
@@ -141,17 +141,13 @@ const exampleOpenApiSpec = JSON.stringify({ · 140 unmodified lines
141 get: {141 get: {
142 operationId: "items.get",142 operationId: "items.get",
143 tags: ["items"],143 tags: ["items"],
144 parameters: [144 parameters: [{ name: "id", in: "path", required: true, schema: { type: "string" } }],
145 { name: "id", in: "path", required: true, schema: { type: "string" } },
146 ],
147 responses: { "200": { description: "ok" } },145 responses: { "200": { description: "ok" } },
148 },146 },
149 delete: {147 delete: {
150 operationId: "items.delete",148 operationId: "items.delete",
151 tags: ["items"],149 tags: ["items"],
152 parameters: [150 parameters: [{ name: "id", in: "path", required: true, schema: { type: "string" } }],
153 { name: "id", in: "path", required: true, schema: { type: "string" } },
154 ],
155 responses: { "204": { description: "deleted" } },151 responses: { "204": { description: "deleted" } },
156 },152 },
157 },153 },
@@ -400,10 +396,7 @@ const program = Effect.gen(function* () { · 242 unmodified lines
400 console.log(" executor.keychain.isSupported:", executor.keychain.isSupported);396 console.log(" executor.keychain.isSupported:", executor.keychain.isSupported);
401 console.log(" executor.keychain.displayName:", executor.keychain.displayName);397 console.log(" executor.keychain.displayName:", executor.keychain.displayName);
402 398
403 console.log(399 console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath);
404 " executor.fileSecrets.filePath: ",
405 executor.fileSecrets.filePath,
406 );
407 400
408 // executor.mcp.addSource({ connector: { kind: "remote", endpoint: "..." } });401 // executor.mcp.addSource({ connector: { kind: "remote", endpoint: "..." } });
409 // executor.googleDiscovery.addSource({ discoveryUrl: "..." });402 // executor.googleDiscovery.addSource({ discoveryUrl: "..." });