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

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-usorca-security-usBot 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

StatusCheckIssues by priority
Passed PassedInfrastructure as Codehigh 0 medium 0 low 0 info 45View in Orca
Passed PassedSASThigh 0 medium 0 low 0 info 0View in Orca
Passed PassedSecretshigh 0 medium 0 low 0 info 0View in Orca
Passed PassedVulnerabilitieshigh 0 medium 0 low 0 info 0View in Orca
🛡️ The following IaC misconfigurations have been detected
NAMEFILE
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoTemplate Path With No Corresponding Path Parameter...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoObject Without Required Property...s/opportunities.jsonView in code
infoSchema Has A Required Property Undefined...s/opportunities.jsonView in code
infoSecurity Requirement Object With Wrong Scopes...s/opportunities.jsonView in code
infoSecurity Requirement Object With Wrong Scopes...s/opportunities.jsonView in code
infoSecurity Requirement Object With Wrong Scopes...s/opportunities.jsonView in code
............

Sign up for freeto 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

@MCPVOT