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 | 2 | import { Schema } from "effect"; |
| 3 | 3 | import { ApiKeyAuthMethod, ApiKeyAuthTemplate } from "@executor-js/sdk/http-auth"; |
| 4 | 4 | import { |
| 5 | + HealthCheckSpec, | |
| 5 | 6 | InternalError, |
| 6 | 7 | IntegrationAlreadyExistsError, |
| 7 | 8 | IntegrationNotFoundError, |
| @@ -76,6 +77,7 @@ const AddSpecPayload = Schema.Struct({ · 68 unmodified lines | ||
| 76 | 77 | queryParams: Schema.optional(Schema.Record(Schema.String, Schema.String)), |
| 77 | 78 | specFormat: Schema.optional(Schema.String), |
| 78 | 79 | family: Schema.optional(Schema.String), |
| 80 | + healthCheck: Schema.optional(HealthCheckSpec), | |
| 79 | 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 | 66 | queryParams: payload.queryParams ? { ...payload.queryParams } : undefined, |
| 67 | 67 | specFormat: payload.specFormat, |
| 68 | 68 | family: payload.family, |
| 69 | + healthCheck: payload.healthCheck, | |
| 69 | 70 | authenticationTemplate: payload.authenticationTemplate, |
| 70 | 71 | }); |
| 71 | 72 | }), |