init
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using Swashbuckle.Examples;
|
||||
|
||||
namespace Kreta.Naplo.WebApi.V3.Documentation
|
||||
{
|
||||
public class PermissionDeniedExample : IExamplesProvider
|
||||
{
|
||||
#pragma warning disable S3253 // Constructor and destructor declarations should not be redundant
|
||||
public PermissionDeniedExample()
|
||||
{
|
||||
}
|
||||
|
||||
#pragma warning restore S3253 // Constructor and destructor declarations should not be redundant
|
||||
public object GetExamples() => "permission_denied";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user