apache / apache/servicecomb-java-chassis

@RequestBody 请求体为null,不能拦截,会将空对象传导到controller

Open
#3,399 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.9k
Forks
814
Avg merge
8d 23h
Merged PRs (30d)
1

Description

接口已经定义body体不能为空,但body请求体 什么也不传,参数校验拦截不了。
parameters:
- in: "body"
name: "xxx "
required: true
servicecomb版本 2.7.4
期待报4XX错误 。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.