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
141141 get: {
142142 operationId: "items.get",
143143 tags: ["items"],
144− parameters: [
145− { name: "id", in: "path", required: true, schema: { type: "string" } },
146− ],
144+ parameters: [{ name: "id", in: "path", required: true, schema: { type: "string" } }],
147145 responses: { "200": { description: "ok" } },
148146 },
149147 delete: {
150148 operationId: "items.delete",
151149 tags: ["items"],
152− parameters: [
153− { name: "id", in: "path", required: true, schema: { type: "string" } },
154− ],
150+ parameters: [{ name: "id", in: "path", required: true, schema: { type: "string" } }],
155151 responses: { "204": { description: "deleted" } },
156152 },
157153 },
@@ -400,10 +396,7 @@ const program = Effect.gen(function* () { · 242 unmodified lines
400396 console.log(" executor.keychain.isSupported:", executor.keychain.isSupported);
401397 console.log(" executor.keychain.displayName:", executor.keychain.displayName);
402398
403− console.log(
404− " executor.fileSecrets.filePath: ",
405− executor.fileSecrets.filePath,
406− );
399+ console.log(" executor.fileSecrets.filePath: ", executor.fileSecrets.filePath);
407400
408401 // executor.mcp.addSource({ connector: { kind: "remote", endpoint: "..." } });
409402 // executor.googleDiscovery.addSource({ discoveryUrl: "..." });