Skip to content

docs(rest-api): remove enum comment suppression guard clause#20490

Draft
jkodroff wants to merge 1 commit into
masterfrom
jkodroff/remove-rest-api-guard-clause
Draft

docs(rest-api): remove enum comment suppression guard clause#20490
jkodroff wants to merge 1 commit into
masterfrom
jkodroff/remove-rest-api-guard-clause

Conversation

@jkodroff

Copy link
Copy Markdown
Member

Description

Removes the temporary guard clause in layouts/partials/openapi/enum-values.html that suppressed two engineer-facing enum field comments from the public REST API docs (StackPermission.Creator and AppUpdateKind.Rename).

The upstream fix — pulumi/pulumi-service#46718, which rewords those comments at the source (the Java IDL that generates the OpenAPI spec) — has merged, so the guard is no longer needed. Enum comments now render whenever present.

The $suppressComments denylist and the $typeName variable that only fed it are both removed.

Fixes #20488

Draft note

Kept as a draft until the reworded comments ship and are live in the OpenAPI spec consumed by this site. Once confirmed live, mark ready for review.

🤖 Generated with Claude Code

The two upstream enum field comments this guard withheld — StackPermission.Creator
and AppUpdateKind.Rename — have been reworded at the source in pulumi-service
(pulumi/pulumi-service#46718, merged), so the engineer-facing wording no longer
leaks into the public API docs. Drop the $suppressComments denylist and the
$typeName tracking that only fed it; the $c comment now renders whenever present.

Fixes #20488

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pulumi-bot

Copy link
Copy Markdown
Collaborator

@pulumi-bot

Copy link
Copy Markdown
Collaborator

Lighthouse Performance Report

Commit: 0540827 | Metric definitions

Page Device Score FCP LCP TBT CLS SI
Homepage Mobile 🔴 39 8.1s 14.4s 727ms 0.000 8.1s
Homepage Desktop 🟡 89 0.8s 1.7s 156ms 0.014 1.1s
Install Pulumi Mobile 🟡 57 8.0s 15.7s 44ms 0.000 8.0s
Install Pulumi Desktop 🟡 83 1.2s 1.9s 0ms 0.016 2.6s
AWS Get Started Mobile 🟡 56 5.9s 13.4s 34ms 0.086 7.4s
AWS Get Started Desktop 🟡 84 1.2s 2.4s 0ms 0.033 1.2s

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.

REST API docs: Remove guard clause when internal comments are removed

2 participants