-
Notifications
You must be signed in to change notification settings - Fork 280
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 #484 from apiaryio/honzajavorek/ambiguous-paramete…
…rs-raise-exception Ambiguous parameters raise exception (fix)
- Loading branch information
Showing
15 changed files
with
133 additions
and
758 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
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FORMAT: X-1A | ||
FORMAT: 1A | ||
|
||
# Machines API | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
FORMAT: 1A | ||
|
||
# Machines API | ||
# Group Machines | ||
# Machine [/machines/{name}] | ||
## Retrieve Single Machine [GET] | ||
|
||
+ Response 200 (application/json; charset=utf-8) | ||
|
||
{ | ||
"type": "bulldozer", | ||
"name": "willy" | ||
} | ||
|
||
# Machines [/machines/{?sort}] | ||
## Retrieve All Machines [GET] | ||
|
||
+ Response 200 (application/json; charset=utf-8) | ||
|
||
[{ | ||
"type": "bulldozer", | ||
"name": "willy" | ||
}] | ||
|
||
# Machine Types [/machine-types/] | ||
## Create a New Machine Type [POST] | ||
|
||
+ Request (application/json; charset=utf-8) | ||
|
||
{ | ||
"name": "bulldozer" | ||
} | ||
|
||
+ Response 200 (application/json; charset=utf-8) | ||
|
||
[{ | ||
"name": "bulldozer" | ||
}] |
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.