Search Results for

    Show / Hide Table of Contents

    Class GlobalConfig

    gives access to the fastendpoints global configuration settings

    Inheritance
    object
    GlobalConfig
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: FastEndpoints.Swagger
    Assembly: FastEndpoints.Swagger.dll
    Syntax
    public static class GlobalConfig

    Properties

    AllowEmptyRequestDtos

    allows the use of empty request dtos

    Declaration
    public static bool AllowEmptyRequestDtos { get; }
    Property Value
    Type Description
    bool

    EndpointRoutePrefix

    prefix for all routes (example 'api').

    Declaration
    public static string? EndpointRoutePrefix { get; }
    Property Value
    Type Description
    string

    IsUsingAspVersioning

    Asp.Versioning.Http library is being used for versioning

    Declaration
    public static bool IsUsingAspVersioning { get; }
    Property Value
    Type Description
    bool

    RouteConstraintMap

    this route constraint type map will be used to determine the type for a route parameter if there's no matching property on the request dto. the dictionary key is the name of the constraint and the value is the corresponding Type

    Declaration
    public static Dictionary<string, Type> RouteConstraintMap { get; }
    Property Value
    Type Description
    Dictionary<string, Type>

    VersioningPrefix

    the prefix used in front of the version (for example 'v' produces 'v{version}').

    Declaration
    public static string? VersioningPrefix { get; }
    Property Value
    Type Description
    string
    In this article
    Back to top Developed by Đĵ ΝιΓΞΗΛψΚ and contributors / Licensed under MIT / Website generated by DocFX