Skip to content

Update Data Connectors schema: remove source, add state_version, fix default_value#418

Merged
ellicenelson merged 1 commit intomainfrom
ellicenelson/source-and-default-value-fix
Mar 23, 2026
Merged

Update Data Connectors schema: remove source, add state_version, fix default_value#418
ellicenelson merged 1 commit intomainfrom
ellicenelson/source-and-default-value-fix

Conversation

@ellicenelson
Copy link
Contributor

@ellicenelson ellicenelson commented Mar 23, 2026

Why?

Three doc fixes for the Data Connectors public API to match monolith behavior:

  1. default_value no longer needs nullable: true on the create schema — it defaults to "" when omitted
  2. source was an internal field leaked in the detail response — now removed from the monolith presenter
  3. state_version query parameter on GET show was undocumented, along with its 400 error response

How?

Update the OpenAPI spec: remove nullable from default_value in create schema, remove source from detail schema and examples, add state_version query param and 400 error to GET /data_connectors/{id}.

Related PRs

Generated with Claude Code

@ellicenelson ellicenelson merged commit 33aa1ec into main Mar 23, 2026
3 checks passed
@ellicenelson ellicenelson deleted the ellicenelson/source-and-default-value-fix branch March 23, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants