openapi-processor / openapi-processor/openapi-processor-spring
multiple endpoints for xor query parameters
未关闭
还没有人认领这个 Issue。
undecided
- 主要语言
- Kotlin
- 星标
- 56
- 派生
- 11
- 平均合并
- 2 天 4 小时
- 30 天内合并 PR
- 8
描述
with Spring @RequestMapping params it is possible to split the endpoint into multiple controller methods for mutually exclusive query parameters.
Would be possible by inventing a mapping configuration.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先查看 Spring @RequestMapping params 的行为,以及该项目当前如何将查询参数映射到控制器方法。未指定文件或测试;完成的标准是定义一种映射配置,支持在不同的控制器方法之间使用互斥的查询参数。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- kotlin, openapi, spring-boot
- 领域
- api, backend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100