Show / Hide Table of Contents

Class AbpSwaggerGenServiceCollectionExtensions

Inheritance
object
AbpSwaggerGenServiceCollectionExtensions
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Microsoft.Extensions.DependencyInjection
Assembly: Volo.Abp.Swashbuckle.dll
Syntax
public static class AbpSwaggerGenServiceCollectionExtensions

Methods

AddAbpSwaggerGen(IServiceCollection, Action<SwaggerGenOptions>)

Declaration
public static IServiceCollection AddAbpSwaggerGen(this IServiceCollection services, Action<SwaggerGenOptions> setupAction = null)
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
System.Action<T><Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions> setupAction
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection

AddAbpSwaggerGenWithOAuth(IServiceCollection, string, Dictionary<string, string>, Action<SwaggerGenOptions>, string, string)

Declaration
public static IServiceCollection AddAbpSwaggerGenWithOAuth(this IServiceCollection services, string authority, Dictionary<string, string> scopes, Action<SwaggerGenOptions> setupAction = null, string authorizationEndpoint = "/connect/authorize", string tokenEndpoint = "/connect/token")
Parameters
Type Name Description
Microsoft.Extensions.DependencyInjection.IServiceCollection services
string authority
System.Collections.Generic.Dictionary<TKey, TValue><string, string> scopes
System.Action<T><Swashbuckle.AspNetCore.SwaggerGen.SwaggerGenOptions> setupAction
string authorizationEndpoint
string tokenEndpoint
Returns
Type Description
Microsoft.Extensions.DependencyInjection.IServiceCollection
In This Article
Back to top Powered by Volosoft