Skip to content

Parameters

Template repo: ConnectSoft.ApiLibraryTemplate

  • Short name: connectsoft-api-library
  • Identity: ConnectSoft.ApiLibraryTemplate
  • Source name: ConnectSoft.ApiLibraryTemplate
  • Default name: ConnectSoft.ApiLibrary1
  • Source modifiers: 6

Authoritative metadata: .template.config/template.json.

Template Symbols

Symbol Type Data type Default Choices Description
AuthoringMode generated ``
Framework parameter choice net10.0 Length, LongLength, Rank, SyncRoot, IsReadOnly, IsFixedSize, IsSynchronized, Count Primary framework moniker for CLI/IDE and documentation. The generated library always multi-targets net9.0 and net10.0; this parameter does not change TargetFrameworks.
IfDebug generated ``
ElseDirective generated ``
EndIf generated ``
ApiServiceName parameter string ExchangeRate The service name used in code (e.g., ExchangeRate).
ApiServiceDescription parameter string Exchange rate A short human-readable description of the API being wrapped.
currentYear generated ``
AuthenticationType parameter choice None Length, LongLength, Rank, SyncRoot, IsReadOnly, IsFixedSize, IsSynchronized, Count Select the authentication mechanism used by the API (None, Basic, OAuth, OpenIDConnect, ApiKey).
AuthenticationTypeNone computed ``
UseBasicAuthenticationType computed ``
UseOAuthAuthenticationType computed ``
UseOpenIDConnectAuthenticationType computed ``
UseApiKeyAuthenticationType computed ``
UseOAuthOrOpenIdConnectLayout computed ``
buildDefinitionNumber parameter string `` Custom Azure DevOps build definition number for CI/CD integration. Leave empty to use default.
UseMetrics parameter bool true Enable built-in metrics support for custom metrics.
UseServiceDiscovery parameter bool false Enable logical service discovery HTTP clients (AddDiscoveredClient) via ConnectSoft.Extensions.ServiceDiscovery.

Validation

Regenerate this page from the current manifest whenever template symbols, defaults, choices, source modifiers, or short names change.

See Also