Skip to content

fix(opportunities): add fieldValue (preferred) + deprecate field_value in custom-field schemas - #321

Open
MCPVOT wants to merge 1 commit into
GoHighLevel:mainfrom
MCPVOT:fix/opportunities-field-value
Open

fix(opportunities): add fieldValue (preferred) + deprecate field_value in custom-field schemas#321
MCPVOT wants to merge 1 commit into
GoHighLevel:mainfrom
MCPVOT:fix/opportunities-field-value

Conversation

@MCPVOT

@MCPVOT MCPVOT commented Aug 9, 2026

Copy link
Copy Markdown

Same bug class as PR #320 (contacts.json): the opportunities spec documents only snake_case field_value in all 3 custom-field input schemas (customFieldsInputArraySchema, customFieldsInputObjectSchema, customFieldsInputStringSchema). The v3 spec (apps/v3/opportunities-v3.json) uses fieldValue. Mirror the v3 contract: add fieldValue (preferred, with description) + deprecate field_value. JSON verified clean before/after; exactly 3 schemas upgraded. Diff: 31 insertions, 4 deletions in apps/opportunities.json.

…e in custom-field schemas

Same fix as PR GoHighLevel#320 (contacts.json): the opportunities spec documented only
snake_case field_value in all 3 custom-field input schemas, while the v3 spec
uses fieldValue. Add the fieldValue twin (preferred) + deprecate field_value,
mirroring the v3 contract exactly. JSON verified clean before/after; 3 schemas
upgraded.

@orca-security-us orca-security-us Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 45 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca
🛡️ The following IaC misconfigurations have been detected
NAME FILE
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Template Path With No Corresponding Path Parameter ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Object Without Required Property ...s/opportunities.json View in code
info Schema Has A Required Property Undefined ...s/opportunities.json View in code
info Security Requirement Object With Wrong Scopes ...s/opportunities.json View in code
info Security Requirement Object With Wrong Scopes ...s/opportunities.json View in code
info Security Requirement Object With Wrong Scopes ...s/opportunities.json View in code
... ... ... ...

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.

1 participant