History

Move provider add surfaces into catalog presets

Rhys Sullivan committed 4 months ago

Commit 4bf0e871 parent d94baf575 files · +747 −4956Browse files

Showing the changes to packages/plugins/openapi/src/api (2 of 75 files). Show all

Unified · Split

2 files
  1. packages/plugins/openapi/src/api/group.ts +2 −0
  2. packages/plugins/openapi/src/api/handlers.ts +1 −0
packages/plugins/openapi/src/api/group.ts+2−0
@@ -2,6 +2,7 @@ import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi"; · 1 unmodified line
22 import { Schema } from "effect";
33 import { ApiKeyAuthMethod, ApiKeyAuthTemplate } from "@executor-js/sdk/http-auth";
44 import {
5+ HealthCheckSpec,
56 InternalError,
67 IntegrationAlreadyExistsError,
78 IntegrationNotFoundError,
@@ -76,6 +77,7 @@ const AddSpecPayload = Schema.Struct({ · 68 unmodified lines
7677 queryParams: Schema.optional(Schema.Record(Schema.String, Schema.String)),
7778 specFormat: Schema.optional(Schema.String),
7879 family: Schema.optional(Schema.String),
80+ healthCheck: Schema.optional(HealthCheckSpec),
7981 authenticationTemplate: Schema.optional(Schema.Array(AuthenticationPayload)),
8082 });
8183
packages/plugins/openapi/src/api/handlers.ts+1−0
@@ -66,6 +66,7 @@ export const OpenApiHandlers = HttpApiBuilder.group(ExecutorApiWithOpenApi, "ope · 65 unmodified lines
6666 queryParams: payload.queryParams ? { ...payload.queryParams } : undefined,
6767 specFormat: payload.specFormat,
6868 family: payload.family,
69+ healthCheck: payload.healthCheck,
6970 authenticationTemplate: payload.authenticationTemplate,
7071 });
7172 }),