Browse Source
Merge pull request #241 from mjhpour/master
Fix SecurityDefinitions in Swagger helper
pull/242/head
Sebastian Stehle
8 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Squidex/Pipeline/Swagger/SwaggerHelper.cs
|
|
|
@ -72,7 +72,7 @@ namespace Squidex.Pipeline.Swagger |
|
|
|
document.Host = context.Request.Host.Value; |
|
|
|
} |
|
|
|
|
|
|
|
document.SecurityDefinitions.Add("OAuth2", CreateOAuthSchema(urlOptions)); |
|
|
|
document.SecurityDefinitions.Add(Constants.SecurityDefinition, CreateOAuthSchema(urlOptions)); |
|
|
|
|
|
|
|
return document; |
|
|
|
} |
|
|
|
|