Skip to content

feat(env): add customapi group with list, create, generate-openapi - #176

Open
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/env-customapi-issue-98
Open

feat(env): add customapi group with list, create, generate-openapi#176
zekelinAlex wants to merge 1 commit into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/env-customapi-issue-98

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor

Adds a customapi noun group under txc env for working with Custom APIs in the connected environment.

Three commands: list shows registered Custom APIs with optional --search filtering, create registers a new Custom API including request parameters and response properties, and generate-openapi emits an OpenAPI 3.0 spec (JSON) for one or all Custom APIs, either to stdout or a file via --output.

While wiring up create through the changeset pipeline I noticed ChangesetApplier was building entities without attribute metadata, so typed values (optionsets, money, lookups) went to Dataverse as raw JSON primitives. It now prefetches entity metadata for record CREATE/UPDATE ops and converts values the same way the direct record service does.

Closes #98

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.

txc env customapi — Custom API domain noun group

1 participant