-
Notifications
You must be signed in to change notification settings - Fork 57
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
Do whatever it takes to appears cowboy-swagger on "http://swagger.io/open-source-integrations/" #16
Comments
Funny, I was just about to invite you and ask whether you'd like to be added there. One question though, on one hand, it seems you're producing Swagger 2.0, on the other, you're using the < 2.0 convention of exposing your definitions (i.e., |
Hi. First, thanks for your comment. The idea is to expose 2.0, we didn't know that we were using < 2.0 conventions, so according to that and to be compliant with 2.0 spec, how should the path be called (i.e. instead of |
https://github.com/swagger-api/swagger-spec/blob/master/versions/2.0.md#file-structure
That's of course for the JSON format. For YAML it should be Keep in mind you're not required to expose it this way, but you should :) |
Ok, I understand, but other thing you should be aware, to load the JSON the path to be called is: According to that, do you think that we should rename that path? if so, any suggestions for the name? |
Again, we don't enforce anything, so it's entirely up to you. I just believe that exposing it with the same name in a similar 'logic' across applications, makes it easier for users to access regardless of the development language. I understand the wish to avoid conflicts, but I somewhat doubt anyone is going to expose a |
Ok, you're right! I'll create an issue to fix it following your suggestions. Thanks again! |
Cool. Feel free to submit a PR against https://github.com/swagger-api/swagger.io/blob/wordpress//integrations/open-source.md to add your library. Keep in mind that you need to add a new title + table (at the right place) for erlang since it's the first erlang implementation we have (woot!). |
Already there :) |
Do whatever it takes to appears cowboy-swagger on "http://swagger.io/open-source-integrations/"
The text was updated successfully, but these errors were encountered: