feat: ajustes
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
.DS_Store
|
||||
*/.DS_Store
|
||||
.run/
|
||||
|
||||
.vscode/
|
||||
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
@baseUrl = http://localhost:5072/api
|
||||
|
||||
### Cadastrar um novo cliente
|
||||
# @name createCustomer
|
||||
POST {{baseUrl}}/customers HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
{
|
||||
"firstName": "Jean",
|
||||
"lastName": "Gatto",
|
||||
"gender": "Male",
|
||||
"email": "jean_gatto@hotmail.com",
|
||||
"dateOfBirth": "1990-04-27"
|
||||
}
|
||||
|
||||
@customerId = {{createCustomer.response.body.result.id}}
|
||||
|
||||
### Obter cliente por id
|
||||
# @name getCustomersById
|
||||
GET {{baseUrl}}/customers/{{customerId}} HTTP/1.1
|
||||
content-type: application/json
|
||||
|
||||
### Obter todos os clientes
|
||||
# @name getCustomers
|
||||
GET {{baseUrl}}/customers HTTP/1.1
|
||||
content-type: application/json
|
||||
@@ -9,9 +9,12 @@ public sealed class ConnectionOptions : IAppOptions
|
||||
{
|
||||
public const string ConfigSectionPath = "ConnectionStrings";
|
||||
|
||||
[Required] public string SqlConnection { get; private init; }
|
||||
[Required]
|
||||
public string SqlConnection { get; private init; }
|
||||
|
||||
[Required] public string NoSqlConnection { get; private init; }
|
||||
[Required]
|
||||
public string NoSqlConnection { get; private init; }
|
||||
|
||||
[Required] public string CacheConnection { get; private init; }
|
||||
[Required]
|
||||
public string CacheConnection { get; private init; }
|
||||
}
|
||||
Reference in New Issue
Block a user