You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is a workaround,
for SecurityDefinitions, follow the Step 4: Configure WCF services general information in readme
for security sections, add SwaggerWcfSecurityAttribute to the operations
Hi. I use swaggerwcf to make api description of the wcf service with basic authentication. I found that generated json doesn't contains security section. However based on api specification it should (https://swagger.io/docs/specification/2-0/authentication/basic-authentication/).
So to work properly it has to contains both securityDefinitions and security sections:
"securityDefinitions":{
"basicAuth":{
"type":"basic",
"description":"Basic authentication"
}
},
"security":[
{
"basicAuth":[
]
Could you add this section to allow invocation of the wcf service with basic authentication.
The text was updated successfully, but these errors were encountered: