Make the Locale configurable
还没有人认领这个 Issue。
评估
调研方向
The issue names SchemaRegistryConfig as the place to accept a locale, and the validator now uses the JVM default locale through networknt/json-schema-validator. Start by finding where SchemaRegistryConfig is built and where the networknt validator configuration is created, then check how the library's message locale is set. Done means a caller can pass a Locale when building the config, the validator uses it, and a test shows an error message in that locale. The API shape (builder method name, default value) is not settled in the issue, so ask the maintainers before choosing it.
由索引模型根据 Issue 内容生成。
描述
Hi,
With the switch to networknt/json-schema-validator, validation messages are now using the JVM default locale, whereas in 2.x messages were always in English. Would it be possible to make the locale configurable when building the SchemaRegistryConfig?
- 主要语言
- Java
- 星标
- 17
- 派生
- 6
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
atlassian/openapi-request-validator 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 3/5 1-2 天 新手友好度 64/100
-
难度 3/5 1-2 天 新手友好度 62/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
Message context not populated when validating response headers可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 55/100
查看 atlassian/openapi-request-validator 的全部 Issue
相似的 Issue
-
dev/release: verify-release-candidate.sh runs 0 Java tests with Debian's Maven可能已有人在做 @kou 今天认领。 未关闭Type: bug
难度 2/5 1-3 小时 新手友好度 72/100
apache/arrow-adbc#4947 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
checkstyle/checkstyle#22153 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
Documentation Needs Triage
难度 1/5 1 小时以内 新手友好度 78/100
frankframework/frankframework#11908 ·
维护者通常 1 天内回复