This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from apiaryio/remove-is-validatable
Gavel 2 specification
- Loading branch information
Showing
17 changed files
with
209 additions
and
547 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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,15 @@ | ||
@stable | ||
Feature: Method | ||
|
||
Background: | ||
Given you expect HTTP message method "POST" | ||
|
||
Scenario: HTTP message method match | ||
When real method is "POST" | ||
Then field "method" is valid | ||
And Request or Response is valid | ||
|
||
Scenario: Different HTTP message method | ||
When real HTTP message method is "GET" | ||
Then field "method" is NOT valid | ||
And Request or Response is NOT valid |
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,15 @@ | ||
@stable | ||
Feature: URI | ||
|
||
Background: | ||
Given you expect HTTP message URI "/animals?type=cats" | ||
|
||
Scenario: HTTP message URI match | ||
When real HTTP message URI is "/animals?type=cats" | ||
Then field "uri" is valid | ||
And Request or Response is valid | ||
|
||
Scenario: Different HTTP message URI | ||
When real HTTP message URI is "/animals?type=dogs" | ||
Then field "uri" is NOT valid | ||
And Request or Response is NOT valid |
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
Oops, something went wrong.