Skip to content

Add new business type field to potential user info#248

Merged
JasonCWang merged 1 commit intomainfrom
jason/add-business-type
Mar 24, 2026
Merged

Add new business type field to potential user info#248
JasonCWang merged 1 commit intomainfrom
jason/add-business-type

Conversation

@JasonCWang
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@JasonCWang JasonCWang marked this pull request as ready for review March 24, 2026 19:15
@greptile-apps
Copy link
Copy Markdown

greptile-apps bot commented Mar 24, 2026

Greptile Summary

This PR adds BUSINESS_TYPE as a new value to the UserInfoFieldName enum, which represents the types of fields that can contain info about a platform's user or counterparty user.

  • The new enum value follows the existing UPPER_SNAKE_CASE naming convention.
  • The change is applied consistently across all three locations where the enum is defined: the source schema (openapi/components/schemas/users/UserInfoFieldName.yaml), the bundled spec (openapi.yaml), and the Mintlify docs spec (mintlify/openapi.yaml).
  • No logic changes — purely additive and backward-compatible.

Confidence Score: 5/5

  • This PR is safe to merge — purely additive enum change with no breaking impact.
  • The change is minimal (one new enum value added in three files), backward-compatible, consistently applied across all spec locations, and follows existing naming conventions. No logic, security, or data concerns.
  • No files require special attention.

Important Files Changed

Filename Overview
openapi/components/schemas/users/UserInfoFieldName.yaml Adds BUSINESS_TYPE to the enum; change is minimal and consistent with existing naming conventions.
openapi.yaml Adds BUSINESS_TYPE to the inline UserInfoFieldName enum definition; mirrors the source schema change correctly.
mintlify/openapi.yaml Adds BUSINESS_TYPE to the Mintlify docs copy of the UserInfoFieldName enum; stays in sync with the main spec.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[UserInfoFieldName enum] --> B[Existing values\ne.g. FULL_NAME, TAX_ID, USER_TYPE, ...]
    A --> C[BUSINESS_TYPE\n✨ NEW]
    C --> D[openapi/components/schemas/users/\nUserInfoFieldName.yaml]
    D --> E[openapi.yaml\nbundled spec]
    D --> F[mintlify/openapi.yaml\ndocs spec]
Loading

Reviews (1): Last reviewed commit: "Add BUSINESS_TYPE to UserInfoFieldName e..." | Re-trigger Greptile

@JasonCWang JasonCWang changed the title Add BUSINESS_TYPE to UserInfoFieldName enum Add new business type field to potential user info Mar 24, 2026
@JasonCWang JasonCWang merged commit 9c0c2df into main Mar 24, 2026
7 checks passed
@JasonCWang JasonCWang deleted the jason/add-business-type branch March 24, 2026 20:31
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.

2 participants