-
Notifications
You must be signed in to change notification settings - Fork 15
Add Foreman 3.16 apidocs #27
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
Conversation
This is missing the examples, I think this is fine if generating those is failing right now, but I wanted to point it out to check whether this was intentional. |
We decided on IRC to wait. |
apipie-rails 1.5.0 is released and you should be able to generate examples again |
9a1ba1b
to
6fdf34c
Compare
@evgeni Huge thank you for your effort around this. Appreciate it! Would you please quickly go through the diff that the update caused? I am unsure about some changes in there. The one below is one of them - shouldn't we list all locales we ship? Does anyone even care? 🤔 diff --git a/foreman/3.16/apidoc/v2/users/create.html b/foreman/3.16/apidoc/v2/users/create.html
index e9273ff..1d6b41e 100644
--- a/foreman/3.16/apidoc/v2/users/create.html
+++ b/foreman/3.16/apidoc/v2/users/create.html
@@ -476,7 +476,7 @@
<p><strong>Validations:</strong></p>
<ul>
<li>
-<p>Must be one of: <code>ca</code>, <code>cs_CZ</code>, <code>de</code>, <code>en</code>, <code>en_GB</code>, <code>es</code>, <code>fr</code>, <code>it</code>, <code>ja</code>, <code>ka</code>, <code>ko</code>, <code>pl</code>, <code>pt_BR</code>, <code>ru</code>, <code>zh_CN</code>, <code>zh_TW</code>.</p>
+<p>Must be one of: <code>en</code>.</p>
</li>
</ul> Edit: I've downloaded the artifacts using |
We only generate docs for EN, so this seems consistent, as the code underneath uses I think that's fine for now, but surely could be improved. |
Nice! Now we need someone to review the PR and merge it 🙂 |
Another funny one: - <p>Must be one of: <code>interface</code>, <code>bmc</code>, <code>bond</code>, <code>bridge</code>.</p>
+ <p>Must be one of: <code>interface</code>, <code>bmc</code>, <code>bond</code>, <code>bridge</code>, <code>interface</code>, <code>bmc</code>, <code>bond</code>, <code>bridge</code>, <code>interface</code>, <code>bmc</code>, <code>bond</code>, <code>bridge</code>.</p>
then we miss a sort here: - <p>Template kinds, available values: PXELinux, PXEGrub, PXEGrub2, iPXE, provision, finish, script, user_data, ZTP, POAP, cloud-init, host_init_config, registration, kexec, Bootdisk, public</p>
+ <p>Template kinds, available values: iPXE, provision, PXELinux, script, finish, PXEGrub, PXEGrub2, host_init_config, registration, public</p> (and I think your setup had more than pure foreman installed) |
No description provided.