Skip to content

Commit 628c3c2

Browse files
committed
feat: migrate to new bru lang format
1 parent eeeaa57 commit 628c3c2

File tree

8 files changed

+53
-49
lines changed

8 files changed

+53
-49
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

Repository/Repository Info.bru

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name Repository Info
2-
method GET
3-
url {{baseUrl}}/repos/usebruno/bruno
4-
type http-request
5-
body-mode none
6-
seq 2
1+
meta {
2+
name: Repository Info
3+
type: http
4+
seq: 2
5+
}
6+
7+
get {
8+
url: {{baseUrl}}/repos/usebruno/bruno
9+
}

Repository/Repository Tags.bru

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name Repository Tags
2-
method GET
3-
url {{baseUrl}}/repos/usebruno/bruno/tags
4-
type http-request
5-
body-mode none
6-
seq 3
1+
meta {
2+
name: Repository Tags
3+
type: http
4+
seq: 3
5+
}
6+
7+
get {
8+
url: {{baseUrl}}/repos/usebruno/bruno/tags
9+
}

Repository/Search Repos.bru

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
name Search Repos
2-
method GET
3-
url {{baseUrl}}/search/repositories?q=react&order=desc&per_page=10
4-
type http-request
5-
body-mode none
6-
seq 1
1+
meta {
2+
name: Search Repos
3+
type: http
4+
seq: 1
5+
}
76

8-
params
9-
1 q react
10-
1 order desc
11-
1 per_page 10
12-
/params
7+
get {
8+
url: {{baseUrl}}/search/repositories?q=react&order=desc&per_page=10
9+
}
10+
11+
query {
12+
q: react
13+
order: desc
14+
per_page: 10
15+
}

User/User Info.bru

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name User Info
2-
method GET
3-
url {{baseUrl}}/users/usebruno
4-
type http-request
5-
body-mode none
6-
seq 1
1+
meta {
2+
name: User Info
3+
type: http
4+
seq: 1
5+
}
6+
7+
get {
8+
url: {{baseUrl}}/users/usebruno
9+
}

User/User Repos.bru

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name User Repos
2-
method GET
3-
url {{baseUrl}}/users/usebruno/repos
4-
type http-request
5-
body-mode none
6-
seq 2
1+
meta {
2+
name: User Repos
3+
type: http
4+
seq: 2
5+
}
6+
7+
get {
8+
url: {{baseUrl}}/users/usebruno/repos
9+
}

environments/Github.bru

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
vars
2-
1 baseUrl https://api.github.com
3-
/vars
1+
vars {
2+
baseUrl: https://api.github.com
3+
}

package.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)