-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GraphqlProtection check for nested mutations added, example created (#…
…1440) * Add OpenAPI 3.1 references test class and update router setup - Create a new test class `OpenAPI31ReferencesTest` for validating OpenAPI 3.1 references. - Implement setup method to initialize the router and load OpenAPI specs. - Update test cases to handle requests for both `/pets` and `/users` endpoints. - Modify the existing OpenAPI specification to include server information in the YAML configuration. * Added GraphQL Example * Add test for nested mutations exceeding limit in GraphQLProtectionInterceptorTest * Refactor GraphQL mutation counting logic and improve test naming - Enhance `countMutations` method by creating a new private method `getMutationOperations` for better clarity and functionality. - Update test method names in `GraphQLProtectionInterceptorTest` class to follow concise naming conventions without 'public' and 'static' keywords. - Remove redundant test case for counting three mutations as it is replaced by more comprehensive tests. --------- Co-authored-by: Thomas Bayer <[email protected]>
- Loading branch information
Showing
9 changed files
with
240 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.