Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
ref(bruno): update requests
Browse files Browse the repository at this point in the history
  • Loading branch information
floriaaan committed Jan 14, 2024
1 parent f3da7d1 commit b29c168
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 9 deletions.
18 changes: 9 additions & 9 deletions requests/restaurant/create restaurant.bru
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ auth:bearer {

body:json {
{

"name": "restaurant-name",
"name": "Les champs",
"description": "restaurant-desc",
"address": {
"street": "restaurant-street",
"city": "restaurant-city",
"zipCode": "restaurant-postalCode",
"country": "restaurant-country",
"lat": 49.443,
"lng": 1.099
"street": "9 rue des champs",
"city": "Saint Ouen de Thouberville",
"zipCode": "27310",
"country": "France",
"lat": 49.3573604,
"lng": 0.889712
},
"openingHoursList": [
"12h-14h",
"19h-22h"
],
"phone": "restaurant-phone",
"userIds": [
"user-id-1",
"54ed8c99-ccc1-4ebb-8032-73f432ced687",
"user-id-2"
]
}
Expand Down
15 changes: 15 additions & 0 deletions requests/restaurant/get restaurant users.bru
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
meta {
name: get restaurant users
type: http
seq: 7
}

get {
url: {{baseUrl}}/api/restaurant/clre4oqjv000014eblvk1mkyw/users
body: none
auth: bearer
}

auth:bearer {
token: {{token}}
}
3 changes: 3 additions & 0 deletions services/gateway/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ bin/
!*.env.example
!*.env.docker
src/proto/*

.nyc_output/
coverage/

0 comments on commit b29c168

Please sign in to comment.