- NetCore - The webapi framework used
- Swagger - Documentation generator
- ProblemDetails - Error handling
- In-Memory Database - In-memory database
- Autofac - Dependency injection
- Serilog - Logging
- FluentValidation - Object validation
For testing purposes, you can use the following url: Swagger-UI
There are some users account for retrieve information from the API:
For API1:
{
"userName": "user1",
"password": "admin1"
}For API2:
{
"userName": "user2",
"password": "admin2"
}For XML:
{
"userName": "user3",
"password": "admin3"
}In swagger for some reasons there is a mistake while trying to execute the request because the example model is wrong, so here there is an example of the xml schema need it to use the endpoint.
