Class VersionSets
a container for globally holding the Asp.Versioning.Builder.ApiVersionSet instances for the application
Inherited Members
Namespace: FastEndpoints.AspVersioning
Assembly: FastEndpoints.AspVersioning.dll
Syntax
public static class VersionSets
Methods
CreateApi(string, Action<ApiVersionSetBuilder>)
creates a api/group/swagger-tag with an associated version set
Declaration
public static void CreateApi(string apiName, Action<ApiVersionSetBuilder> builder)
Parameters
Type | Name | Description |
---|---|---|
string | apiName | the name of the api (swagger tag) |
Action<ApiVersionSetBuilder> | builder | version set builder action |