Skip to content

Commit 2c26d50

Browse files
committed
fixup: clean up proto
1 parent 8828eb9 commit 2c26d50

File tree

3 files changed

+195
-194
lines changed

3 files changed

+195
-194
lines changed

components/public-api/gitpod/v1/authprovider.proto

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ service AuthProviderService {
3535

3636
message CreateAuthProviderRequest {
3737
oneof owner {
38-
string owner_id = 2;
39-
string organization_id = 3;
38+
string owner_id = 1;
39+
string organization_id = 2;
4040
}
4141

42-
AuthProviderType type = 4;
43-
string host = 5;
42+
AuthProviderType type = 3;
43+
string host = 4;
4444

45-
OAuth2Config oauth2_config = 12;
45+
OAuth2Config oauth2_config = 5;
4646
}
4747

4848
message CreateAuthProviderResponse { AuthProvider auth_provider = 1; }
@@ -60,7 +60,7 @@ message ListAuthProvidersRequest {
6060
}
6161

6262
message ListAuthProvidersResponse {
63-
repeated AuthProvider list = 1;
63+
repeated AuthProvider auth_providers = 1;
6464
PaginationResponse pagination = 2;
6565
}
6666

@@ -73,14 +73,14 @@ message ListAuthProviderDescriptionsRequest {
7373
}
7474

7575
message ListAuthProviderDescriptionsResponse {
76-
repeated AuthProviderDescription list = 1;
76+
repeated AuthProviderDescription descriptions = 1;
7777
PaginationResponse pagination = 2;
7878
}
7979

8080
message UpdateAuthProviderRequest {
8181
string auth_provider_id = 1;
8282

83-
OAuth2Config oauth2_config = 12;
83+
OAuth2Config oauth2_config = 2;
8484
}
8585

8686
message UpdateAuthProviderResponse {}

0 commit comments

Comments
 (0)