Skip to content

fix: support non-JSON content types in request body validation (fixes…

d77ff27
Select commit
Loading
Failed to load commit list.
Closed

fix: support non-JSON content types in request body validation (fixes #1987) #2179

fix: support non-JSON content types in request body validation (fixes…
d77ff27
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 4, 2026 in 26s

Annotations

Check failure on line 35 in src/apps/api/middlewares/validation.middleware.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 20 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=asyncapi_cli&issues=AZ3zqbxYsJq2vT_Qsiy5&open=AZ3zqbxYsJq2vT_Qsiy5&pullRequest=2179