Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch Request to Update Destination Namespace #4013

Closed
danieldiamond opened this issue Jun 10, 2021 · 0 comments
Closed

Patch Request to Update Destination Namespace #4013

danieldiamond opened this issue Jun 10, 2021 · 0 comments
Labels
type/enhancement New feature or request

Comments

@danieldiamond
Copy link
Contributor

Tell us about the problem you're trying to solve

I am wanting to add a customformat destination namespace but the current POST request requires the full syncCatalog included in its schema instead of referencing existing.

Describe the solution you’d like

I would like a PATCH request that simply takes the following schema:

"connectionId": uuid,
"namespaceDefinition": "customformat",
"namespaceFormat": "new_schema"

Describe the alternative you’ve considered or used

I looked into adding this simply PATCH path in the openapi config.yaml but it's proving somewhat difficult given the way it's structured.

This approach DRY up the PATCH <- POST <- GET inheritance chain looks extremely appealing regarding this issue however I imagine that's a significant overhaul of the inherent API structure.

Additional context

OAI/OpenAPI-Specification#2201

Are you willing to submit a PR?

I tried to look into this and would happy to submit a PR, but would definitely need some pointers on how to start e.g. a blueprint of what the patch request would look like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant