feat: add EU legal forms to business entity type - #782
Conversation
✱ Stainless preview builds for gridThis PR will update the cli go kotlin openapi php python ruby typescript ✅ grid-ruby studio · code
|
Greptile Summary⚔️☠️ EU LEGAL FORMS ENTER THE ENUM FORGE — LET THE VERIFICATION RIFFS BEGIN! ☠️⚔️ This PR additively expands the business entity-type vocabulary for non-US legal forms.
Confidence Score: 5/5The PR appears safe to merge because the additive enum extension is consistent across the canonical schema and both generated bundles. The new legal-form values follow the repository’s enum naming and additive-compatibility conventions, while all generated artifacts remain synchronized with the source schema.
|
| Filename | Overview |
|---|---|
| openapi/components/schemas/customers/EntityType.yaml | Adds four valid upper-snake-case legal entity values to the canonical customer schema without altering existing values. |
| openapi.yaml | Updates the committed root bundle consistently with the canonical EntityType schema. |
| mintlify/openapi.yaml | Updates the Mintlify bundle consistently with the canonical schema and root bundle. |
Reviews (1): Last reviewed commit: "feat: add EU legal forms to business ent..." | Re-trigger Greptile

Summary
Adds four legal entity types to
EntityTypeso businesses incorporated outside the US can be described faithfully:PUBLICLY_LISTED_COMPANYTRUSTPRIVATE_FOUNDATIONCHARITYThe existing members are US-shaped (
LLC,S_CORPORATION,SOLE_PROPRIETORSHIP), so a publicly listed company, trust, foundation or charity could previously only be recorded asOTHER. Downstream verification providers distinguish these forms, andOTHERis not always accepted in their place — so the imprecision could block business verification rather than merely lose detail.OTHERis retained for genuinely unlisted forms.Compatibility
Additive only — no existing value changes meaning, and no field becomes required.
oasdiff breakingreports 0 errors, 40 warnings (allresponse-property-enum-value-added), soinfo.versionis unchanged per the repo's convention of bumping only for breaking changes.Clients that exhaustively switch on
entityTypeshould handle unknown values, as with any enum in this spec.Test plan
make build— spec rebundled (openapi.yaml+mintlify/openapi.yaml)make lint-openapi— passes, 0 errorsoasdiff breaking <base> <head> --fail-on ERR— exit 0Requested by @jklein24
Original PR: #781