Provide an API for validating URI Templates
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start with the URITemplate entry point and the RFC 6570 validation requirement described in the issue. Determine the validation API or input-validation behavior, including the malformed example, and confirm that it can support JSON Schema Draft 6's uri-template format.
Written by the indexing model from the issue text.
Description
Hi!
Would you consider an API to validate whether a particular input was valid under RFC 6570 (or does such a thing exist already and I've missed it)?
E.g., http://example.com/dictionary/{term:1}/{term is not a valid URI Template seemingly, but I cannot see an API that complains about that -- uritemplate.URITemplate will happily truncate the end part there and consider that a template with just one field.
(Even having URITemplate do enough validation of its inputs would also work).
Full context: JSON Schema Draft 6 adds a uri-template format. I'd love to use uritemplate to implement it in jsonschema.
- Dominant language
- Python
- Stars
- 246
- Forks
- 41
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 3
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from python-hyper/uritemplate
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
python-hyper/uritemplate#164 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
python-hyper/uritemplate#163 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
python-hyper/uritemplate#51 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
python-hyper/uritemplate#34 · 4 comments ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
python-hyper/uritemplate#15 ·
All issues in python-hyper/uritemplate
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
MISP/misp-workbench#496 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
fossasia/visdom-dev#69 ·
Maintainers usually reply within 3 days
-
[Bug] Parameters named like a property break to_xcal()Possibly taken @atharvasalunke1267 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
collective/icalendar#2018 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day