guardrail-dev / guardrail-dev/guardrail

OAI3: form fields with `$ref` are treated like application/json

Open
#580 0 comments 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
Scala
Stars
541
Forks
138
PR merge metrics
No merged PRs in 30d

Description

Due to the way `extractPrimitiveFromRequestBody` works, `setIn("body")` is applied to all body parameters, even if the content type is actually one of the supported form types.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.