yaml的横杠

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
requests:
- method:
GET
path:
- '{{fBaseURL}}'
- '{{fBaseURL}}'

{
"requests": [
{
"path": [
"{{fBaseURL}}",
"{{fBaseURL}}"
],
"method": "GET"
}
]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
requests:
- method:
GET
- path:
- '{{fBaseURL}}'
- '{{fBaseURL}}'


{
"requests": [
{
"method": "GET"
},
{
"path": [
"{{fBaseURL}}",
"{{fBaseURL}}"
]
}
]
}