Sync docs from master to gh-pages
This commit is contained in:
@@ -1085,7 +1085,20 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
</p><p><b>YAML. </b>
|
||||
</p><pre class="programlisting">request:
|
||||
method: GET
|
||||
urlPath: /get
|
||||
urlPath: /get/1
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
cookies:
|
||||
foo: 2
|
||||
queryParameters:
|
||||
limit: 10
|
||||
offset: 20
|
||||
filter: 'email'
|
||||
sort: name
|
||||
search: 55
|
||||
age: 99
|
||||
name: John.Doe
|
||||
email: 'bob@email.com'
|
||||
body:
|
||||
duck: 123
|
||||
alpha: "abc"
|
||||
@@ -1100,6 +1113,35 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
"complex.key": 'foo'
|
||||
nullValue: null
|
||||
matchers:
|
||||
url:
|
||||
regex: /get/[0-9]
|
||||
# predefined:
|
||||
# execute a method
|
||||
# command:
|
||||
queryParameters:
|
||||
- key: limit
|
||||
type: equal_to
|
||||
value: 20
|
||||
- key: offset
|
||||
type: containing
|
||||
value: 20
|
||||
- key: sort
|
||||
type: equal_to
|
||||
value: name
|
||||
- key: search
|
||||
type: not_matching
|
||||
value: '^[0-9]{2}$'
|
||||
- key: age
|
||||
type: not_matching
|
||||
value: '^\\w*$'
|
||||
- key: name
|
||||
type: matching
|
||||
value: 'John.*'
|
||||
- key: hello
|
||||
type: absent
|
||||
cookies:
|
||||
- key: foo
|
||||
regex: '[0-9]'
|
||||
headers:
|
||||
- key: Content-Type
|
||||
regex: "application/json.*"
|
||||
@@ -1130,8 +1172,6 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
type: by_equality
|
||||
- path: $.nullvalue
|
||||
type: by_null
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
response:
|
||||
status: 200
|
||||
body:
|
||||
|
||||
@@ -4476,7 +4476,20 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
</p><p><b>YAML. </b>
|
||||
</p><pre class="programlisting">request:
|
||||
method: GET
|
||||
urlPath: /get
|
||||
urlPath: /get/1
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
cookies:
|
||||
foo: 2
|
||||
queryParameters:
|
||||
limit: 10
|
||||
offset: 20
|
||||
filter: 'email'
|
||||
sort: name
|
||||
search: 55
|
||||
age: 99
|
||||
name: John.Doe
|
||||
email: 'bob@email.com'
|
||||
body:
|
||||
duck: 123
|
||||
alpha: "abc"
|
||||
@@ -4491,6 +4504,35 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
"complex.key": 'foo'
|
||||
nullValue: null
|
||||
matchers:
|
||||
url:
|
||||
regex: /get/[0-9]
|
||||
# predefined:
|
||||
# execute a method
|
||||
# command:
|
||||
queryParameters:
|
||||
- key: limit
|
||||
type: equal_to
|
||||
value: 20
|
||||
- key: offset
|
||||
type: containing
|
||||
value: 20
|
||||
- key: sort
|
||||
type: equal_to
|
||||
value: name
|
||||
- key: search
|
||||
type: not_matching
|
||||
value: '^[0-9]{2}$'
|
||||
- key: age
|
||||
type: not_matching
|
||||
value: '^\\w*$'
|
||||
- key: name
|
||||
type: matching
|
||||
value: 'John.*'
|
||||
- key: hello
|
||||
type: absent
|
||||
cookies:
|
||||
- key: foo
|
||||
regex: '[0-9]'
|
||||
headers:
|
||||
- key: Content-Type
|
||||
regex: "application/json.*"
|
||||
@@ -4521,8 +4563,6 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
type: by_equality
|
||||
- path: $.nullvalue
|
||||
type: by_null
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
response:
|
||||
status: 200
|
||||
body:
|
||||
|
||||
@@ -7508,7 +7508,20 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
<para>
|
||||
<programlisting language="yml" linenumbering="unnumbered">request:
|
||||
method: GET
|
||||
urlPath: /get
|
||||
urlPath: /get/1
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
cookies:
|
||||
foo: 2
|
||||
queryParameters:
|
||||
limit: 10
|
||||
offset: 20
|
||||
filter: 'email'
|
||||
sort: name
|
||||
search: 55
|
||||
age: 99
|
||||
name: John.Doe
|
||||
email: 'bob@email.com'
|
||||
body:
|
||||
duck: 123
|
||||
alpha: "abc"
|
||||
@@ -7523,6 +7536,35 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
"complex.key": 'foo'
|
||||
nullValue: null
|
||||
matchers:
|
||||
url:
|
||||
regex: /get/[0-9]
|
||||
# predefined:
|
||||
# execute a method
|
||||
# command:
|
||||
queryParameters:
|
||||
- key: limit
|
||||
type: equal_to
|
||||
value: 20
|
||||
- key: offset
|
||||
type: containing
|
||||
value: 20
|
||||
- key: sort
|
||||
type: equal_to
|
||||
value: name
|
||||
- key: search
|
||||
type: not_matching
|
||||
value: '^[0-9]{2}$'
|
||||
- key: age
|
||||
type: not_matching
|
||||
value: '^\\w*$'
|
||||
- key: name
|
||||
type: matching
|
||||
value: 'John.*'
|
||||
- key: hello
|
||||
type: absent
|
||||
cookies:
|
||||
- key: foo
|
||||
regex: '[0-9]'
|
||||
headers:
|
||||
- key: Content-Type
|
||||
regex: "application/json.*"
|
||||
@@ -7553,8 +7595,6 @@ email, url, uuid, iso_date, iso_date_time, iso_time, iso_8601_with_offset, non_e
|
||||
type: by_equality
|
||||
- path: $.nullvalue
|
||||
type: by_null
|
||||
headers:
|
||||
Content-Type: application/json
|
||||
response:
|
||||
status: 200
|
||||
body:
|
||||
|
||||
Reference in New Issue
Block a user