Serhii Chvaliuk [GL]
11/18/2021, 8:35 PMoauthUserInputFromConnectorConfigSpecification
https://github.com/airbytehq/airbyte/blob/cb9c5123b1789310ee313c2823868ecba65aa35f/airbyte-api/src/main/openapi/config.yaml#L3259
on Python part we have snake_case oauth_user_input_from_connector_config_specification
https://github.com/airbytehq/airbyte/blob/cb9c5123b1789310ee313c2823868ecba65aa35f/airbyte-cdk/python/airbyte_cdk/models/airbyte_protocol.py#L122
I see that for old deprecated specification “authSpecification” we have camelCase for both python and javauser
11/18/2021, 8:38 PMSerhii Chvaliuk [GL]
11/18/2021, 8:44 PMspec.json
do I need to use camelCase or snake_case ?cat spec.json
"advancedAuth": {
"authFlowType": "oauth2.0"
....
}
OR
"advanced_auth": {
"auth_flow_type": "oauth2.0"
....
}
user
11/19/2021, 10:33 AMuser
11/19/2021, 1:13 PMspec.json
1) cat spec.json
"advanced_auth": {
"auth_flow_type": "oauth2.0",
...
2) cat spec.json
"advancedAuth": {
"authFlowType": "oauth2.0",
camalCase - OK
snake_case - UI generate error: “Fetching connector failed.”Serhii Chvaliuk [GL]
11/19/2021, 1:15 PM"advancedAuth": {
"auth_flow_type": "oauth2.0",
advancedAuth
camelCase
and the rest of properties nested inside snake_caseuser
11/19/2021, 1:21 PM"advancedAuth": {
"auth_flow_type": "oauth2.0",
"oauthConfigSpecification": {
"completeOAuthOutputSpecification": {
"completeOAuthServerInputSpecification": {
"completeOAuthServerOutputSpecification": {
user
11/19/2021, 1:21 PMuser
11/19/2021, 1:22 PMuser
11/19/2021, 1:26 PM"advancedAuth": {
"auth_flow_type": "oauth2.0",
"oauth_config_specification": {
"complete_oauth_output_specification": {
"complete_oauth_server_input_specification": {
"complete_oauth_server_output_specification": {
Serhii Chvaliuk [GL]
11/19/2021, 1:26 PMuser
11/19/2021, 1:27 PMuser
11/19/2021, 1:30 PM