Pet Store API client and sample console application.
Many features that would normally be included in production code have been left out to keep this sample simple (e.g. Separation of projects, NuGet deployment, logging, configuration.)
Comments have been included in the code to explain some of the choices, and a few TODO's indicating where the sample could be expanded.
- Run the
Sampleconsole application to execute thefindByStatusmethod on the Pet Store API via thePetClientservice. - The
PetStoreSampleservice will output available pets to the console, grouped byCategoryand sorted descending by petName.
- Visual Studio 2019
- .NET Core 3.1
- C#
Execute tests from within Visual Studio or via any of the available NUnit test runners.
Only one test currently exists which will execute PetClient.findByStatus to ensure that it can deserialize and return a result.