Skip to content

Commit 74a0050

Browse files
feat(typescript): refactor all auth schemes to follow auth provider architecture and be idempotent in subclients/rootclients (#10728)
Co-authored-by: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Swimburger <Swimburger@users.noreply.github.com>
1 parent f5aa181 commit 74a0050

File tree

3,237 files changed

+112986
-42880
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,237 files changed

+112986
-42880
lines changed

.github/workflow-resource-files/seed-groups/csharp-model-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
{
9595
"fixtures": [
9696
"alias-extends",
97-
"auth-environment-variables",
97+
"header-auth-environment-variable",
9898
"nullable",
9999
"path-parameters",
100100
"plain-text",
@@ -143,7 +143,7 @@
143143
"websocket-bearer-auth",
144144
"streaming-parameter",
145145
"basic-auth-environment-variables",
146-
"custom-auth",
146+
"header-auth",
147147
"websocket",
148148
"trace"
149149
],

.github/workflow-resource-files/seed-groups/csharp-sdk-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"undiscriminated-unions",
8080
"server-sent-events",
8181
"single-url-environment-default",
82-
"custom-auth",
82+
"header-auth",
8383
"websocket-bearer-auth",
8484
"literals-unions",
8585
"exhaustive:include-exception-handler"
@@ -140,7 +140,7 @@
140140
{
141141
"fixtures": [
142142
"query-parameters-openapi-as-objects",
143-
"auth-environment-variables",
143+
"header-auth-environment-variable",
144144
"empty-clients",
145145
"imdb:exported-client-class-name",
146146
"oauth-client-credentials:no-custom-config",

.github/workflow-resource-files/seed-groups/fastapi-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
{
6969
"fixtures": [
7070
"alias-extends:no-custom-config",
71-
"auth-environment-variables",
71+
"header-auth-environment-variable",
7272
"unions:no-custom-config",
7373
"extra-properties",
7474
"unknown",
@@ -119,7 +119,7 @@
119119
"bytes-download",
120120
"circular-references-advanced:no-custom-config",
121121
"websocket-bearer-auth",
122-
"custom-auth",
122+
"header-auth",
123123
"pagination-custom",
124124
"cross-package-type-names",
125125
"package-yml",

.github/workflow-resource-files/seed-groups/go-fiber-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"unknown",
5656
"client-side-params",
5757
"trace",
58-
"custom-auth",
58+
"header-auth",
5959
"literals-unions",
6060
"variables",
6161
"imdb",
@@ -125,7 +125,7 @@
125125
},
126126
{
127127
"fixtures": [
128-
"auth-environment-variables",
128+
"header-auth-environment-variable",
129129
"bytes-download",
130130
"cross-package-type-names",
131131
"simple-api",

.github/workflow-resource-files/seed-groups/go-model-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
{
104104
"fixtures": [
105105
"accept-header",
106-
"auth-environment-variables",
106+
"header-auth-environment-variable",
107107
"variables",
108108
"inferred-auth-implicit-no-expiry",
109109
"public-object"
@@ -115,7 +115,7 @@
115115
"groupTotalTimeSeconds": 420
116116
},
117117
{
118-
"fixtures": ["alias-extends", "bytes-download", "query-parameters", "custom-auth", "required-nullable"],
118+
"fixtures": ["alias-extends", "bytes-download", "query-parameters", "header-auth", "required-nullable"],
119119
"groupTotalTimeSeconds": 427
120120
},
121121
{

.github/workflow-resource-files/seed-groups/go-sdk-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
},
5555
{
5656
"fixtures": [
57-
"auth-environment-variables",
57+
"header-auth-environment-variable",
5858
"extends",
5959
"single-url-environment-no-default",
6060
"undiscriminated-unions:v0",
@@ -126,7 +126,7 @@
126126
"enum",
127127
"file-upload:package-name",
128128
"multi-line-docs",
129-
"custom-auth",
129+
"header-auth",
130130
"examples:always-send-required-properties",
131131
"nullable-optional",
132132
"variables",

.github/workflow-resource-files/seed-groups/java-model-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"simple-fhir",
1212
"circular-references-advanced",
1313
"literal",
14-
"custom-auth",
14+
"header-auth",
1515
"property-access"
1616
],
1717
"groupTotalTimeSeconds": 2740
@@ -50,7 +50,7 @@
5050
"fixtures": [
5151
"license",
5252
"basic-auth",
53-
"auth-environment-variables",
53+
"header-auth-environment-variable",
5454
"java-nullable-named-request-types",
5555
"java-builder-extension",
5656
"streaming",

.github/workflow-resource-files/seed-groups/java-sdk-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
"bearer-token-environment-variable",
9191
"undiscriminated-unions",
9292
"cross-package-type-names",
93-
"auth-environment-variables",
93+
"header-auth-environment-variable",
9494
"mixed-file-directory",
9595
"literal",
9696
"multi-url-environment-no-default",
@@ -156,7 +156,7 @@
156156
{
157157
"fixtures": [
158158
"bytes-upload",
159-
"custom-auth:custom-auth",
159+
"header-auth:header-auth",
160160
"any-auth",
161161
"file-upload-openapi",
162162
"unions:default",

.github/workflow-resource-files/seed-groups/java-spring-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
{
5050
"fixtures": [
5151
"file-upload-openapi",
52-
"auth-environment-variables",
52+
"header-auth-environment-variable",
5353
"pagination",
5454
"path-parameters",
5555
"mixed-case",
@@ -84,7 +84,7 @@
8484
"enum",
8585
"errors",
8686
"websocket-inferred-auth",
87-
"custom-auth",
87+
"header-auth",
8888
"empty-clients",
8989
"server-sent-event-examples",
9090
"examples"

.github/workflow-resource-files/seed-groups/openapi-seed-groups.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"fixtures": [
38-
"auth-environment-variables",
38+
"header-auth-environment-variable",
3939
"oauth-client-credentials",
4040
"literal",
4141
"nullable-optional",
@@ -144,7 +144,7 @@
144144
"multi-url-environment-no-default",
145145
"streaming",
146146
"server-sent-events",
147-
"custom-auth"
147+
"header-auth"
148148
],
149149
"groupTotalTimeSeconds": 90
150150
}

0 commit comments

Comments
 (0)