Merging to release-5.8: [TT-12238] Javascript regex issue on OAS API (#7923) #8061
Quality Gate passed
Annotations
Check failure on line 1917 in gateway/api_definition_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ26MzSJrw2nU09yXFtC&open=AZ26MzSJrw2nU09yXFtC&pullRequest=8061
Check warning on line 620 in gateway/api_definition_test.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ26MzSJrw2nU09yXFtA&open=AZ26MzSJrw2nU09yXFtA&pullRequest=8061
Check failure on line 275 in gateway/mw_oas_validate_request.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ2atGwLYoisdiTfG1IQ&open=AZ2atGwLYoisdiTfG1IQ&pullRequest=8061
Check failure on line 384 in gateway/cert_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ2aMjK2E8rVSZSZv0qL&open=AZ2aMjK2E8rVSZSZv0qL&pullRequest=8061
Check failure on line 155 in gateway/mw_oas_validate_request.go
sonarqubecloud / SonarCloud Code Analysis
Define a constant instead of duplicating this literal "request validation error: %w" 3 times.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ2atGwLYoisdiTfG1IP&open=AZ2atGwLYoisdiTfG1IP&pullRequest=8061
Check failure on line 666 in gateway/server_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ26MzU9rw2nU09yXFtE&open=AZ26MzU9rw2nU09yXFtE&pullRequest=8061
Check warning on line 1379 in gateway/api_definition_test.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ26MzSJrw2nU09yXFtB&open=AZ26MzSJrw2nU09yXFtB&pullRequest=8061
Check failure on line 1360 in gateway/cert_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 32 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ2aMjK2E8rVSZSZv0qM&open=AZ2aMjK2E8rVSZSZv0qM&pullRequest=8061
Check warning on line 1361 in gateway/cert_test.go
sonarqubecloud / SonarCloud Code Analysis
Complete the task associated to this TODO comment.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ2aMjK2E8rVSZSZv0qK&open=AZ2aMjK2E8rVSZSZv0qK&pullRequest=8061
Check failure on line 422 in gateway/server_test.go
sonarqubecloud / SonarCloud Code Analysis
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ26MzU9rw2nU09yXFtD&open=AZ26MzU9rw2nU09yXFtD&pullRequest=8061