forked from loafle/openapi-generator-original
general support to add scopes for bearer auth too (#1984)
* general support to add scopes for bearer auth too implemented authorize workflow in aspnet core too * petstore update * fix missing ) * multi roles fix * null pointer error prevention * null point exception fixes * null pointer fixes * npe fix * solved line break issue
This commit is contained in:
@@ -17,6 +17,7 @@ using Newtonsoft.Json;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Org.OpenAPITools.Attributes;
|
||||
using Org.OpenAPITools.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
namespace Org.OpenAPITools.Controllers
|
||||
{
|
||||
|
||||
@@ -17,6 +17,7 @@ using Newtonsoft.Json;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Org.OpenAPITools.Attributes;
|
||||
using Org.OpenAPITools.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
namespace Org.OpenAPITools.Controllers
|
||||
{
|
||||
|
||||
@@ -17,6 +17,7 @@ using Newtonsoft.Json;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Org.OpenAPITools.Attributes;
|
||||
using Org.OpenAPITools.Models;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
|
||||
namespace Org.OpenAPITools.Controllers
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user