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

Autodoc support #171

Open
wants to merge 7 commits into
base: datacratic-internal-branch-9
Choose a base branch
from

Conversation

FinchPowers
Copy link
Contributor

No description provided.

Json::Value help;
getHelp(help, "", set<string>());
connection.sendResponse(200, help);
if (request.params.hasValue("autodoc")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

ceci pourrait etre refactorise legerement (esthetique)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Élabore svp.

Copy link
Contributor

Choose a reason for hiding this comment

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

En fait, ta variable "help" et ton appel "sendResponse" sont communs aux deux blocs, donc ils pourraient etre sortis. Il n'y a que l'assignation de help qui varie.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Bon point.

@wsourdeau
Copy link
Contributor

+1, non-obstant les considerations esthetiques secondaires.

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.

2 participants