Skip to content

Commit a67b04f

Browse files
committed
add version and variables documentation for http
1 parent 6d05b03 commit a67b04f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/05-References/051-http-reference.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Http specification reference
33
---
44

55
:::note
6-
- This page should be use as reference for specification files.
6+
- This page should be use as reference for http specification files.
77
- This page is subject to change. It is requested to check this page frequently.
88
:::
99

10-
Let’s get introduced to the Http specification format. The Http specification format is how anyone express a Http request. Following is the full reference to write Http specification file.
10+
The Http specification format is how anyone express a Http request. Following is the full reference to write Http specification file.
1111

1212
Http specification document is a versioned document, meaning there MUST be a `version:` key on the document.
1313

@@ -112,6 +112,13 @@ request:
112112
```
113113
114114
---
115+
### `version` (<small>_`required`_</small>)
116+
117+
`version` is a top-level block that defines a document version. How to write a `version:` block, is [already defined here](/References/version-reference).
118+
119+
### `variables`
120+
121+
`variables` is a top-level block that defines local variables. These variables are file scoped. How to write a `variables:` block, is [already defined here](/References/variable-reference).
115122

116123
### `request` (<small>_`required`_</small>)
117124

0 commit comments

Comments
 (0)