-
Notifications
You must be signed in to change notification settings - Fork 593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Get/Update API Shield Operation Schema Validation settings #1422
Conversation
changelog detected ✅ |
api_shield_schemas.go
Outdated
// UpdateAPIShieldOperationSchemaValidationSettings updates operation level schema validation settings | ||
// | ||
// API documentation: https://developers.cloudflare.com/api/operations/api-shield-schema-validation-update-operation-level-settings | ||
func (api *API) UpdateAPIShieldOperationSchemaValidationSettings(ctx context.Context, rc *ResourceContainer, params UpdateAPIShieldOperationSchemaValidationSettingsParams) (*APIShieldOperationSchemaValidationSettings, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
similar to my comment in #1418 (comment), do we need both of these update methods? or could we use the one that accepts multiple updates for both?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense, have updated to remove the single one in favour of the multiple one (and renamed it to just be UpdateAPIShieldOperationSchemaValidationSettings
)
- updated commit message + PR description https://github.com/cloudflare/cloudflare-go/compare/5f0ca009b6e91ec8bfe8b6213302ae7a6b51ca90..16c2b886cd034296d32039dea93997000f51ddb5
…lidation Settings Adds support for the following endpoints - Retrieve operation level schema validation settings - Update multiple operation level schema validation settings
This functionality has been released in v0.80.0. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
Adds support for the following endpoints
Description
Has your change been tested?
Screenshots (if appropriate):
Types of changes
What sort of change does your code introduce/modify?
Checklist:
and relies on stable APIs.