File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
src/Microsoft.OpenApi/Models
test/Microsoft.OpenApi.Tests/Models Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -535,11 +535,6 @@ public static class OpenApiConstants
535
535
/// </summary>
536
536
public const string Flows = "flows" ;
537
537
538
- /// <summary>
539
- /// Field: OpenIdConnectUrl
540
- /// </summary>
541
- public const string OpenIdConnectUrl = "openIdConnectUrl" ;
542
-
543
538
/// <summary>
544
539
/// Field: DefaultName
545
540
/// </summary>
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public class OpenApiComponentsTests
57
57
{
58
58
Description = "description1" ,
59
59
Type = SecuritySchemeType . OpenIdConnect ,
60
- Scheme = OpenApiConstants . OpenIdConnectUrl ,
60
+ Scheme = OpenApiConstants . Bearer ,
61
61
OpenIdConnectUrl = new Uri ( "https://example.com/openIdConnect" )
62
62
}
63
63
}
@@ -129,7 +129,7 @@ public class OpenApiComponentsTests
129
129
{
130
130
Description = "description1" ,
131
131
Type = SecuritySchemeType . OpenIdConnect ,
132
- Scheme = OpenApiConstants . OpenIdConnectUrl ,
132
+ Scheme = OpenApiConstants . Bearer ,
133
133
OpenIdConnectUrl = new Uri ( "https://example.com/openIdConnect" ) ,
134
134
Reference = new OpenApiReference
135
135
{
Original file line number Diff line number Diff line change @@ -104,15 +104,15 @@ public class OpenApiSecuritySchemeTests
104
104
{
105
105
Description = "description1" ,
106
106
Type = SecuritySchemeType . OpenIdConnect ,
107
- Scheme = OpenApiConstants . OpenIdConnectUrl ,
107
+ Scheme = OpenApiConstants . Bearer ,
108
108
OpenIdConnectUrl = new Uri ( "https://example.com/openIdConnect" )
109
109
} ;
110
110
111
111
public static OpenApiSecurityScheme ReferencedSecurityScheme = new OpenApiSecurityScheme
112
112
{
113
113
Description = "description1" ,
114
114
Type = SecuritySchemeType . OpenIdConnect ,
115
- Scheme = OpenApiConstants . OpenIdConnectUrl ,
115
+ Scheme = OpenApiConstants . Bearer ,
116
116
OpenIdConnectUrl = new Uri ( "https://example.com/openIdConnect" ) ,
117
117
Reference = new OpenApiReference
118
118
{
You can’t perform that action at this time.
0 commit comments