-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
46 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
mappings: | ||
- from: http://localhost | ||
to: https://github.com | ||
mocks: | ||
- path: /path-to-mock | ||
response: | ||
code: 200 | ||
fake: | ||
type: object | ||
property: | ||
first-name: | ||
type: firstname | ||
last-name: | ||
type: lastname | ||
about: | ||
type: sentence | ||
options: | ||
wordcount: 15 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
mappings.0: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response.fake: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response.fake: Additional property property is not allowed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
mappings: | ||
- from: http://localhost | ||
to: https://github.com | ||
mocks: | ||
- path: /path-to-mock | ||
response: | ||
code: 99 | ||
file: /path/to/file.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mappings.0: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response.code: Must be greater than or equal to 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
mappings: | ||
- from: http://localhost | ||
to: https://github.com | ||
mocks: | ||
- path: /path-to-mock | ||
response: | ||
raw: "Hello, World!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mappings.0: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response: Must validate one and only one schema (oneOf) | ||
mappings.0.mocks.0.response: code is required |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters