chore: mark non-spec service accessors with @oagen-ignore-start/end#354
Merged
gjtorikian merged 2 commits intomainfrom Apr 14, 2026
Merged
chore: mark non-spec service accessors with @oagen-ignore-start/end#354gjtorikian merged 2 commits intomainfrom
@oagen-ignore-start/end#354gjtorikian merged 2 commits intomainfrom
Conversation
Contributor
Greptile SummaryThis PR protects hand-maintained, non-spec service properties and accessors in Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[oagen code generator runs] --> B{Scan WorkOS.php}
B --> C[Encounter @oagen-ignore-start]
C --> D[Skip section until @oagen-ignore-end]
D --> E[Continue scanning]
E --> F[Regenerate only spec-backed code]
subgraph Protected["Protected (hand-maintained)"]
G[Passwordless property/accessor]
H[Vault property/accessor]
I[WebhookVerification property/accessor]
J[Actions property/accessor]
K[SessionManager property/accessor]
L[PKCEHelper property/accessor]
end
D -.->|preserves| Protected
Reviews (1): Last reviewed commit: "update typecheck memory limit" | Re-trigger Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, oagen-emitters generated methods for APIs not in the OpenAPI spec—stuff like Vault, PKCE, etc. This was kind of gross and unnecessary, so I removed the functionality in workos/oagen-emitters@7b0bab4 and am just tagging the relevant code sections with
oagen-ignore, so that they do not get removed upon regeneration.