Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(providers): add connection_config, credentials definition (#2768)
## Describe your changes Fixes https://linear.app/nango/issue/NAN-1792/connection-config-document-in-providersyaml-and-enforce-them - Add and enforce `connection_config` definitions This makes sure we have a JSON schema to validate and to display connection config in the UI and backend. The values are returned by the endpoint but not yet used in the UI. Some things are incomplete or might be slightly incorrect, it's a daunting task so I have fully checked and vested all of them. - Add and enforce the `credentials` definitions for API_KEY Same as `connection_config`, separated to clarify the expectation. ## Tests ![Screenshot 2024-09-25 at 18 10 18](https://github.com/user-attachments/assets/730f23e0-a63b-404e-a2da-4f181c67624c)
- Loading branch information