Skip to content
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

Merged
merged 4 commits into from
Aug 11, 2015
Merged

Conversation

cabol
Copy link
Contributor

@cabol cabol commented Aug 6, 2015

-spec all(atom()) -> [atom()].
all(Module) ->
ExcludedFuns = [module_info, init_per_suite, end_per_suite, group, all],
Exports = Module:module_info(exports),
Copy link
Member

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.

Copy link
Member

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.

@davecaos davecaos assigned davecaos and unassigned elbrujohalcon Aug 6, 2015
{http_listener_count, 10}
]
}
].
Copy link

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.

@davecaos davecaos assigned davecaos and unassigned davecaos Aug 7, 2015

%% cowboy
allowed_methods(Req, State) ->
{[<<"GET">>, <<"PUT">>, <<"HEAD">>], Req, State}.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

too many spaces

davecaos pushed a commit that referenced this pull request Aug 11, 2015
elbrujohalcon pushed a commit that referenced this pull request Aug 11, 2015
@elbrujohalcon elbrujohalcon merged commit 13ea00d into master Aug 11, 2015
@cabol cabol deleted the cabol.3.cowboy_swagger_handler branch August 11, 2015 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants