diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e0e7714..eae1fcc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -15,6 +15,7 @@ variables: nugetVersion: '5.2.0' # https://dist.nuget.org/tools.json steps: + - task: UseDotNet@2 displayName: 'Use dotnet sdk 3.1.201' inputs: @@ -74,4 +75,11 @@ steps: artifactType: container artifactName: Packages condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false)) - + +- powershell: | + choco install docfx -y + docfx docfx_project/docfx.json + if ($lastexitcode -ne 0){ + throw ("Error generating document") + } + displayName: "docfx documentation build" diff --git a/src/MpesaLib/Responses/TokenResponse.cs b/src/MpesaLib/Responses/TokenResponse.cs index b939f2f..e6bb67e 100644 --- a/src/MpesaLib/Responses/TokenResponse.cs +++ b/src/MpesaLib/Responses/TokenResponse.cs @@ -22,8 +22,8 @@ public class TokenResponse /// /// /// - /// Access token required to access other Mpesa API endpoints - /// time in seconds after which the token expires + /// Access token required to access other Mpesa API endpoints + /// time in seconds after which the token expires public TokenResponse(string access_token, string expires_in) { AccessToken = access_token;