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

api success schemas #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

kukicvladimir
Copy link

Hi,
i have done more changes in this pull request

  • api success blocks are generated as success responses,
  • there was an issue with same URL and different method for example GET /user, POST /user they were merged as one method instead of two.
  • also added option to parse path and body params with
  • @apiParam (body) {Number} id Users unique ID.
  • @apiParam (path) {Number} id Users unique ID.

Check this and let me know what do you think.
Thanks,
Vladimir

@fsbahman
Copy link
Owner

fsbahman commented Jun 1, 2015

Hi Vladimir,

Sorry for late reply, Work demand was high 😄
Could you do me a favor, after I look at your changes it looks like you've made them on your version, Could you resubmit them on the latest version, right now I have a merge conflict. as an example extractDefinitions function has been removed.
By the way It looks like your editor changes tabs into spaces, if it is possible keep them as tabs.
Thanks and Regards,

@fsbahman
Copy link
Owner

fsbahman commented Jun 4, 2015

Hi,
Today I've merged a few fixes you might want to have a look.

@filipefigcorreia
Copy link

Hi folks. I'd love to have these changes merged in, as apidocs-swagger doesn't accept my documentation as input without it. Anything I can do to make this possible? I'm afraid I'm not very proficient with javascript :-\

@fsbahman
Copy link
Owner

I can have a look later this weekend if I can make the merge-able version out of it. Work load is high these days.

@lotas
Copy link

lotas commented Jun 13, 2018

Hi there,
can we please get this PR merged somehow?
Stumbled upon the same issue, where parameters and success responses were mixed. Tried out the proposed solution from @kukicvladimir and it works perfectly.

Thanks!

@fsbahman
Copy link
Owner

Hi, I will look into the open PRs this weekend, Thanks 👍

@lotas
Copy link

lotas commented Sep 3, 2018

Not trying to be pushy :)
But is there a slight possibility of getting this merged?

Thanks a lot!

@kukicvladimir
Copy link
Author

kukicvladimir commented Sep 3, 2018 via email

@lotas
Copy link

lotas commented Sep 5, 2018

Thanks for the heads up @kukicvladimir !
I see what the problem is, and I'd probably stay with your fork for now.
Luckily my project is very small, so I'd probably switch to writing yaml definition from scratch.
Cheers and thanks again!

@fsbahman
Copy link
Owner

fsbahman commented Sep 6, 2018

I've published a new version of the package:
v0.3.0 with all the changes from your fork @kukicvladimir there were a lot of changes which I could not resolve, I will merge them when time permits, if you want you can keep the PR open. Thanks.
I merget your changes into this branch: kukic.

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.

None yet

4 participants