Any way to get a canonical URI for an object resolved by a resolver?
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
调研方向
首先检查 Resolver.lookup 和 resolver API 的入口点,以了解已解析引用的目标是如何表示的。确定现有 API 是否能够在不重复 lookup 逻辑的情况下公开包含锚点的绝对 URI;当调用方可以通过受支持的接口获取该规范 URI 时,issue 即完成。
由索引模型根据 Issue 内容生成。
描述
Hi!
I'm writing a documentation tool for our configs. Basically I'm iterating over a json schema and resolve $refs via a resolver. Whenever I resolve a new $ref, I need to decide whether to inline its contents or document it as a separate entry. For this, I need to know where said ref leads, i.e. transform it to an absolute URI (possible with an anchor).
Is there a way to do so without re-implementing Resolver.lookup in my code?
- 主要语言
- Python
- 星标
- 53
- 派生
- 32
- 平均合并
- 3 天 1 小时
- 30 天内合并 PR
- 9
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-jsonschema/referencing 的其他 Issue
-
$dynamicRef doesn't find $dynamicAnchor overrides in root schemas without $id可能已有人在做 @aqeelat 于 123 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 45/100
python-jsonschema/referencing#366 ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
python-jsonschema/referencing#226 · 1 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 52/100
python-jsonschema/referencing#178 · 6 条评论 ·
维护者通常 2 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
python-jsonschema/referencing#160 · 3 条评论 · 2 个 reaction ·
维护者通常 2 天内回复
-
难度 5/5 一周以上 新手友好度 30/100
python-jsonschema/referencing#119 · 4 条评论 ·
维护者通常 2 天内回复
查看 python-jsonschema/referencing 的全部 Issue
相似的 Issue
-
python triage
难度 2/5 1-3 小时 新手友好度 82/100
microsoft/semantic-kernel#14590 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
pinterest/pymemcache#662 ·
维护者通常 1 天内回复
-
难度 2/5 半天 新手友好度 62/100
gnocchixyz/gnocchi#1527 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 64/100
tenstorrent/tt-model-manager#181 ·
维护者通常 1 天内回复