Show / Hide Table of Contents

Class SwaggerGenOptionsExtensions

Inheritance
System.Object
SwaggerGenOptionsExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AzureFromTheTrenches.Commanding.AspNetCore.Swashbuckle
Assembly: AzureFromTheTrenches.Commanding.AspNetCore.Swashbuckle.dll
Syntax
public static class SwaggerGenOptionsExtensions

Methods

| Improve this Doc View Source

AddAspNetCoreCommanding(SwaggerGenOptions)

Adding this to Swagger will hide properties marked with the SecurityPropertyAttribute from API documentation

Declaration
public static SwaggerGenOptions AddAspNetCoreCommanding(this SwaggerGenOptions options)
Parameters
Type Name Description
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions options

Swagger options

Returns
Type Description
Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions

The Swagger options for Fluent style usage

  • Improve this Doc
  • View Source
Back to top Generated by DocFX