-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cabol.3.cowboy swagger handler #10
Conversation
cabol
commented
Aug 6, 2015
- Issue Implement GET method in 'swagger_handler' in order to retrieve the JSON specification (swagger.json) #3 solved.
- Fixed Makefile to fetch latest trails release (0.0.2).
-spec all(atom()) -> [atom()]. | ||
all(Module) -> | ||
ExcludedFuns = [module_info, init_per_suite, end_per_suite, group, all], | ||
Exports = Module:module_info(exports), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Elvis:
Remove the dynamic function call on line 18. Only modules that define callbacks should make dynamic calls.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to Elvis:
Remove the dynamic function call on line 18. Only modules that define callbacks should make dynamic calls.
{http_listener_count, 10} | ||
] | ||
} | ||
]. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think because that EOF gadget/dialyzer is complaining.
|
||
%% cowboy | ||
allowed_methods(Req, State) -> | ||
{[<<"GET">>, <<"PUT">>, <<"HEAD">>], Req, State}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too many spaces
Cabol.3.cowboy swagger handler