Completes the v2 naming fold: config key, SDK types, plugin contract fields, sandbox tool paths, CLI subcommand, UI copy, docs, and e2e selectors now say integration. v1 migration readers keep the old names they read from real data; the v1 sourceUrl field maps to specUrl at the migration boundary.
Showing the changes to packages/plugins/openapi/src/api (2 of 151 files). Show all
Unified · Split
| @@ -134,7 +134,7 @@ const IntegrationView = Schema.Struct({ · 133 unmodified lines | |||
| 134 | // deliberately NOT served: it's a multi-MB build artifact in the plugin blob | 134 | // deliberately NOT served: it's a multi-MB build artifact in the plugin blob |
| 135 | // store, and no client reads it (the configure UI only touches the template). | 135 | // store, and no client reads it (the configure UI only touches the template). |
| 136 | const OpenApiConfigView = Schema.Struct({ | 136 | const OpenApiConfigView = Schema.Struct({ |
| 137 | sourceUrl: Schema.optional(Schema.String), | 137 | specUrl: Schema.optional(Schema.String), |
| 138 | baseUrl: Schema.optional(Schema.String), | 138 | baseUrl: Schema.optional(Schema.String), |
| 139 | headers: Schema.optional(Schema.Record(Schema.String, Schema.String)), | 139 | headers: Schema.optional(Schema.Record(Schema.String, Schema.String)), |
| 140 | queryParams: Schema.optional(Schema.Record(Schema.String, Schema.String)), | 140 | queryParams: Schema.optional(Schema.Record(Schema.String, Schema.String)), |
| @@ -96,7 +96,7 @@ export const OpenApiHandlers = HttpApiBuilder.group(ExecutorApiWithOpenApi, "ope · 95 unmodified lines | |||
| 96 | const config = yield* ext.getConfig(params.slug); | 96 | const config = yield* ext.getConfig(params.slug); |
| 97 | return config | 97 | return config |
| 98 | ? { | 98 | ? { |
| 99 | sourceUrl: config.sourceUrl, | 99 | specUrl: config.specUrl, |
| 100 | baseUrl: config.baseUrl, | 100 | baseUrl: config.baseUrl, |
| 101 | headers: config.headers ? { ...config.headers } : undefined, | 101 | headers: config.headers ? { ...config.headers } : undefined, |
| 102 | queryParams: config.queryParams ? { ...config.queryParams } : undefined, | 102 | queryParams: config.queryParams ? { ...config.queryParams } : undefined, |