forked from apidoc/apidoc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bugfix: Allow usage of structures and titles in the same block.
- Loading branch information
Showing
9 changed files
with
174 additions
and
18 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 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "apidoc", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "RESTful web API Documentation Generator", | ||
"author": "Peter Rottmann <[email protected]>", | ||
"license": "MIT", | ||
|
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
define({ | ||
"name": "apidoc", | ||
"version": "0.2.4", | ||
"version": "0.2.7", | ||
"description": "RESTful web API Documentation Generator", | ||
"apidoc": "", | ||
"generator": { | ||
"version": "0.2.4", | ||
"time": "2013-09-21T15:08:45.041Z" | ||
"version": "0.2.7", | ||
"time": "2013-11-30T10:04:13.365Z" | ||
} | ||
}); |
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,10 +1,10 @@ | ||
{ | ||
"name": "apidoc", | ||
"version": "0.2.4", | ||
"version": "0.2.7", | ||
"description": "RESTful web API Documentation Generator", | ||
"apidoc": "", | ||
"generator": { | ||
"version": "0.2.4", | ||
"time": "2013-09-21T15:08:45.041Z" | ||
"version": "0.2.7", | ||
"time": "2013-11-30T10:04:13.365Z" | ||
} | ||
} |
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,24 @@ | ||
/** | ||
* Use of Title and Structures in the same block. | ||
*/ | ||
|
||
/** | ||
* @apiDefineErrorStructure TitleAndError1 | ||
* | ||
* @apiError error1Error This is Error 1. | ||
*/ | ||
|
||
/** | ||
* @api {post} /test/title_and_error Title and Structure | ||
* @apiName PostTitleAndError | ||
* @apiGroup Error | ||
* @apiVersion 0.1.0 | ||
* @apiDescription Use of Title and Structures in the same block. | ||
* | ||
* @apiSuccessTitle (204) 204 No Content. Added to global namespace. | ||
* @apiSuccess (204) message Successfully deleted. | ||
* | ||
* @apiErrorStructure TitleAndError1 | ||
* | ||
* @apiError error3Error This is Error 3 (local). | ||
*/ |