Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative uris? #93

Open
ashic opened this issue Mar 15, 2018 · 2 comments
Open

Relative uris? #93

ashic opened this issue Mar 15, 2018 · 2 comments

Comments

@ashic
Copy link

ashic commented Mar 15, 2018

For link and action hrefs, is the anything preventing the use of relative uris? Does the spec specify that all uris must be absolute?

@ianchanning
Copy link

One of the examples that @kevinswiber gave in #42 was http://fizzbuzzaas.herokuapp.com/, this uses relative URLs.

@thomaseizinger
Copy link

The JSON schema unfortunately uses format: uri which theoretically prevents relative URIs from being valid: https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.7.3.5

One would have to use format: uri-reference to allow for absolute and relative ones.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants