Skip to content

Commit bedcb4e

Browse files
CLOUDP-423175: Add IPA-117-description override for Principal.onBehalfOf
## Proposed changes The dev OpenAPI Spec release failed because the `xgen-IPA-117-description` Spectral rule flagged `#/components/schemas/Principal/properties/onBehalfOf` for a missing description. Add an override in `tools/spectral/ipa/ipa-spectral.yaml` to turn off the `xgen-IPA-117-description` rule for that component, following the existing pattern for fields that can't be documented. _Jira ticket:_ CLOUDP-423175 Closes #1372 ## Checklist - [ ] I have signed the [MongoDB CLA](https://www.mongodb.com/legal/contributor-agreement) - [ ] I have added tests that prove my fix is effective or that my feature works ### Changes to Spectral - [x] I have read the [README](../tools/spectral/README.md) file for Spectral Updates
1 parent b707376 commit bedcb4e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/spectral/ipa/ipa-spectral.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ overrides:
3333
- files:
3434
- '**#/components/schemas/ClusterProviderSettings/properties/providerName' # dynamic field which can't be documented
3535
- '**#/components/schemas/DataLakeStoreSettings/properties/provider'
36+
- '**#/components/schemas/Principal/properties/onBehalfOf'
3637
rules:
3738
xgen-IPA-117-description: 'off'
3839
- files:

0 commit comments

Comments
 (0)