History

Rename the integration entity from 'sources' to 'integrations' (#1370)

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.

Rhys Sullivan committed 4 months ago

Commit 77c7cbc1 parent 55a2463151 files · +659 −627Browse files

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

Unified · Split

2 files
  1. packages/plugins/openapi/src/api/group.ts +1 −1
  2. packages/plugins/openapi/src/api/handlers.ts +1 −1
packages/plugins/openapi/src/api/group.ts+1−1
@@ -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 blob134// 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).
136const OpenApiConfigView = Schema.Struct({136const 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)),
packages/plugins/openapi/src/api/handlers.ts+1−1
@@ -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 config97 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,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t