Showing the changes to packages/plugins/openapi/src/api (2 of 75 files). Show all
Unified · Split
| @@ -2,6 +2,7 @@ import { HttpApiEndpoint, HttpApiGroup } from "effect/unstable/httpapi"; · 1 unmodified line | |||
| 2 | import { Schema } from "effect"; | 2 | import { Schema } from "effect"; |
| 3 | import { ApiKeyAuthMethod, ApiKeyAuthTemplate } from "@executor-js/sdk/http-auth"; | 3 | import { ApiKeyAuthMethod, ApiKeyAuthTemplate } from "@executor-js/sdk/http-auth"; |
| 4 | import { | 4 | import { |
| 5 | HealthCheckSpec, | ||
| 5 | InternalError, | 6 | InternalError, |
| 6 | IntegrationAlreadyExistsError, | 7 | IntegrationAlreadyExistsError, |
| 7 | IntegrationNotFoundError, | 8 | IntegrationNotFoundError, |
| @@ -76,6 +77,7 @@ const AddSpecPayload = Schema.Struct({ · 68 unmodified lines | |||
| 76 | queryParams: Schema.optional(Schema.Record(Schema.String, Schema.String)), | 77 | queryParams: Schema.optional(Schema.Record(Schema.String, Schema.String)), |
| 77 | specFormat: Schema.optional(Schema.String), | 78 | specFormat: Schema.optional(Schema.String), |
| 78 | family: Schema.optional(Schema.String), | 79 | family: Schema.optional(Schema.String), |
| 80 | healthCheck: Schema.optional(HealthCheckSpec), | ||
| 79 | authenticationTemplate: Schema.optional(Schema.Array(AuthenticationPayload)), | 81 | authenticationTemplate: Schema.optional(Schema.Array(AuthenticationPayload)), |
| 80 | }); | 82 | }); |
| 81 | 83 | ||
| @@ -66,6 +66,7 @@ export const OpenApiHandlers = HttpApiBuilder.group(ExecutorApiWithOpenApi, "ope · 65 unmodified lines | |||
| 66 | queryParams: payload.queryParams ? { ...payload.queryParams } : undefined, | 66 | queryParams: payload.queryParams ? { ...payload.queryParams } : undefined, |
| 67 | specFormat: payload.specFormat, | 67 | specFormat: payload.specFormat, |
| 68 | family: payload.family, | 68 | family: payload.family, |
| 69 | healthCheck: payload.healthCheck, | ||
| 69 | authenticationTemplate: payload.authenticationTemplate, | 70 | authenticationTemplate: payload.authenticationTemplate, |
| 70 | }); | 71 | }); |
| 71 | }), | 72 | }), |