- Notifications
You must be signed in to change notification settings - Fork1k
chore: correct template API docs#19228
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
phorcys420 commentedAug 7, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Checked through theSwagger Editor by using "Load URL" withhttps://raw.githubusercontent.com/coder/coder/refs/heads/phorcys420/fix-template-api-docs/coderd/apidoc/swagger.json and it seems to be okay ![]() |
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Dean Sheather <dean@deansheather.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks good from a sound-ness perspective. I think Atif or Ben should sign off on the route name change, though
phorcys420 commentedAug 7, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
matifali left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM from the UX perspective as we list them under Settings in the UI.
b6abcba
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
codersdk.UpdateTemplateMeta
type, because it seemed like the most appropriate type fromcodersdk/templates.go
, I made that decision based on howpatchOrganization
inenterprise/coderd/organizations.go
coder/enterprise/coderd/organizations.go
Line 28 in2851d9f
codersdk.UpdateOrganizationRequest
body
required in the docs even though it isn't actually enforced (i.e an empty body works on that endpoint), I don't know if we should enforce it