mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-13 06:19:05 +02:00
fixup api gen ts + add bruno requests
This commit is contained in:
@@ -11,8 +11,9 @@ post {
|
||||
}
|
||||
|
||||
headers {
|
||||
X-User-Id: 1
|
||||
X-User-Id: 2
|
||||
X-User-Name: Alice Wonderland
|
||||
Content-Type: application/json
|
||||
}
|
||||
|
||||
body:json {
|
||||
|
@@ -6,7 +6,7 @@ meta {
|
||||
|
||||
patch {
|
||||
url: http://localhost:8080/person/{{id}}
|
||||
body: none
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -14,6 +14,12 @@ headers {
|
||||
X-User-Id: 2
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"invite_code": "test-invite-code"
|
||||
}
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
id: 10
|
||||
}
|
||||
|
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
delete {
|
||||
url: http://localhost:8080/person/{{id}}
|
||||
url: http://localhost:8080/person/{{id}}/hard-delete
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
@@ -9,3 +9,11 @@ delete {
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
headers {
|
||||
X-User-Id: 2
|
||||
}
|
||||
|
||||
vars:pre-request {
|
||||
id: 10
|
||||
}
|
||||
|
Reference in New Issue
Block a user