-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made API server more spec compliant.
md5sum a.out b23d375349c7a7966745a564f13a2ab3 a.out The API server is _mostly_ compliant with the comments endpoint. It doesn't follow all conventions perfectly. There are some methods (the comments endpoint being chief among them) that refuse to pass the spider test because of problems with the control structure and how it differs from the other endpoints. The comments endpoint passes error control back to the controller function call instead of printing out the error messages itself. The other endpoints handle their error cases within the *_<method> calls. This could be a refactor of the comments error handling and would clear up some of these problems.
- Loading branch information
1 parent
b8ae532
commit 118968e
Showing
5 changed files
with
148 additions
and
15 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
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