Skip to content

Validate request body for create application#795

Open
Shubhamag12 wants to merge 2 commits into
IBM:mainfrom
Shubhamag12:validate-deploy-params
Open

Validate request body for create application#795
Shubhamag12 wants to merge 2 commits into
IBM:mainfrom
Shubhamag12:validate-deploy-params

Conversation

@Shubhamag12
Copy link
Copy Markdown
Contributor

Added logic to validate the POST request body

Signed-off-by: sagarwal-ibm <sagarwal@ibm.com>
Signed-off-by: sagarwal-ibm <sagarwal@ibm.com>
Comment on lines +332 to +334
}
}

Copy link
Copy Markdown
Member

@mayuka-c mayuka-c May 22, 2026

Choose a reason for hiding this comment

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

Lets validate params too here I feel and fail early
For example, in case of components having models, if models are same across services consuming components, then other values should be same or fail. This is for example api_instruct_key, also for watsonx providers etc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants