mirror of
https://github.com/hexolan/stocklet.git
synced 2026-03-26 19:51:17 +00:00
feat: base bruno routes
generated from OpenAPI v3 spec
This commit is contained in:
18
tests/bruno/user/UserService_RegisterUser.bru
Normal file
18
tests/bruno/user/UserService_RegisterUser.bru
Normal file
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: UserService_RegisterUser
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/v1/user/register
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:query {
|
||||
firstName:
|
||||
lastName:
|
||||
email:
|
||||
password:
|
||||
}
|
||||
15
tests/bruno/user/UserService_ViewUser.bru
Normal file
15
tests/bruno/user/UserService_ViewUser.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: UserService_ViewUser
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/v1/user/users/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
||||
11
tests/bruno/user/View information about the service.bru
Normal file
11
tests/bruno/user/View information about the service.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: View information about the service.
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/v1/user/service
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
7
tests/bruno/user/folder.bru
Normal file
7
tests/bruno/user/folder.bru
Normal file
@@ -0,0 +1,7 @@
|
||||
meta {
|
||||
name: user
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user