Showing the changes to packages/plugins/openapi/src/api (2 of 265 files). Show all
Unified · Split
| @@ -166,15 +166,10 @@ export const OpenApiGroup = HttpApiGroup.make("openapi") · 165 unmodified lines | ||
| 166 | 166 | }), |
| 167 | 167 | ) |
| 168 | 168 | .add( |
| 169 | − HttpApiEndpoint.post( | |
| 170 | − "removeSourceBinding", | |
| 171 | − "/scopes/:scopeId/openapi/source-bindings/remove", | |
| 172 | − { | |
| 173 | − params: ScopeIdParam, | |
| 174 | − payload: RemoveBindingPayload, | |
| 175 | − success: Schema.Struct({ removed: Schema.Boolean }), | |
| 176 | − error: DomainErrors, | |
| 177 | − }, | |
| 178 | − ), | |
| 179 | − ) | |
| 180 | −; | |
| 169 | + HttpApiEndpoint.post("removeSourceBinding", "/scopes/:scopeId/openapi/source-bindings/remove", { | |
| 170 | + params: ScopeIdParam, | |
| 171 | + payload: RemoveBindingPayload, | |
| 172 | + success: Schema.Struct({ removed: Schema.Boolean }), | |
| 173 | + error: DomainErrors, | |
| 174 | + }), | |
| 175 | + ); | |
| @@ -24,7 +24,9 @@ import { OpenApiGroup } from "./group"; · 23 unmodified lines | ||
| 24 | 24 | // `.addError(InternalError)` on the group — no per-handler translation. |
| 25 | 25 | // --------------------------------------------------------------------------- |
| 26 | 26 | |
| 27 | −export class OpenApiExtensionService extends Context.Service<OpenApiExtensionService, OpenApiPluginExtension | |
| 27 | +export class OpenApiExtensionService extends Context.Service< | |
| 28 | + OpenApiExtensionService, | |
| 29 | + OpenApiPluginExtension | |
| 28 | 30 | >()("OpenApiExtensionService") {} |
| 29 | 31 | |
| 30 | 32 | // --------------------------------------------------------------------------- |