Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Implement apiBody and apiQuery tags #104

Merged
merged 5 commits into from
Oct 29, 2020
Merged

Conversation

ghost
Copy link

@ghost ghost commented Sep 24, 2020

This is for issue #24 which suggested an apiBody and apiQuery be created instead of using (the general tag) apiParam.

@NicolasCARPi NicolasCARPi changed the base branch from master to dev September 25, 2020 12:54
@NicolasCARPi
Copy link
Collaborator

Hello,

Thank you for your contribution. It would be great if you could add some tests.

Also, the documentation needs to be modified to reflect the changes and the new available params.

Finally, it looks like you basically took the code from api_param and copy/pasted it to create the two new types. Isn't it possible to reduce this duplication in one way or another?

@ghost
Copy link
Author

ghost commented Sep 28, 2020

@NicolasCARPi where is the documentation? I was not able to find it in the project, though I may have been looking in the wrong place for it.

@NicolasCARPi
Copy link
Collaborator

@ghost
Copy link
Author

ghost commented Sep 29, 2020

@NicolasCARPi I am working on updating the documentation. When I make a PR, do you want me to reference this PR (with a URL or something to that extent)?

@ghost
Copy link
Author

ghost commented Oct 1, 2020

@NicolasCARPi I have finished making the changes you requested, with the exception of the documentation on the other project.

@NicolasCARPi
Copy link
Collaborator

@SWheeler17 This is already much better. I'll merge this after you propose a documentation change. It's important to keep the documentation in sync with the code, and because you are adding functionality, it is also your responsability to modify the documentation to indicate the usage of such params and in which case they are useful.

@ghost
Copy link
Author

ghost commented Oct 2, 2020

Ok, @NicolasCARPi how do you want me to link this PR to the PR on the documentation PR? I was going to add the link of this PR to that (eventual) PR unless you want me to do something else.

@NicolasCARPi
Copy link
Collaborator

Whatever works for you!

@NicolasCARPi
Copy link
Collaborator

Please ping me if this has not been reviewed in a week.

@NicolasCARPi NicolasCARPi requested a review from tommy87 October 19, 2020 12:27
@ghost
Copy link
Author

ghost commented Oct 19, 2020

@NicolasCARPi this has not been merged and does not appear to have been reviewed either.

@tommy87
Copy link
Contributor

tommy87 commented Oct 21, 2020

@ghost
Copy link
Author

ghost commented Oct 21, 2020

@tommy87 I updated the two files you commented on, addressing your comments. Please review it again.

@tommy87 tommy87 self-requested a review October 22, 2020 06:56
Copy link
Contributor

@tommy87 tommy87 left a comment

Choose a reason for hiding this comment

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

Looks much better, but i still need to run tests.

@rottmann @NicolasCARPi
is there any chance to enable CI / Actions in this project which run the tests automatically?

@NicolasCARPi
Copy link
Collaborator

@tommy87 Yes sure! Github actions or CircleCI.

@tommy87
Copy link
Contributor

tommy87 commented Oct 22, 2020

@NicolasCARPi ah i thought it must be enabled first, but when it is similar to gitlab i could create a simple test in the next days

@NicolasCARPi
Copy link
Collaborator

I would favor github actions as they do not require a third party account/access.

There used to be Travis CI IIRC on this repo. But maybe @rottmann pulled the plug.

@tommy87
Copy link
Contributor

tommy87 commented Oct 23, 2020

@SWheeler17 i have create some CI actions on the dev branch. Could you rebase your branch so that the tests are triggered

@NicolasCARPi shouldnt the dokumentation be updated before pulling?

@ghost
Copy link
Author

ghost commented Oct 23, 2020

@tommy87 I have rebased and the tests seem to have run successfully. The documentation PR is here: apidoc/apidocjs.com#34 (for future reference).

Copy link
Contributor

@tommy87 tommy87 left a comment

Choose a reason for hiding this comment

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

Just correct the name and then everythign should be fine

@ghost
Copy link
Author

ghost commented Oct 24, 2020

Oops, fixed @tommy87, my bad.

Copy link
Contributor

@tommy87 tommy87 left a comment

Choose a reason for hiding this comment

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

@NicolasCARPi i think it is ready for pulling

@ghost
Copy link
Author

ghost commented Oct 29, 2020

What is the likelihood of this PR being pulled within the next few days?

@NicolasCARPi NicolasCARPi merged commit 3c12006 into apidoc:dev Oct 29, 2020
@NicolasCARPi
Copy link
Collaborator

What is the likelihood of this PR being pulled within the next few days?

100% :p

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants