-
Notifications
You must be signed in to change notification settings - Fork 0
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
We should use @base to shorten @id slugs #349
Comments
See issue #369 for suggestions/examples of how to nest the |
For a solution to this problem see my comment on this issue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g. in the following request (output elided somewhat for berevity):
The
@id
is based at/data/
which means they include the path prefixEnglish-Indices-of-Deprivation/release/
, I think it would be worth setting the@base
in the JSONLD context toEnglish-Indices-of-Deprivation/release
so that the@id
's can be just2019
and2015
respectively.Reducing the
@id
to this form will mean they don't need to be parsed to feed back into parameters in the openapi.This is likely happening for more routes than just this, we should identify them and list them on this issue as a first step.
NOTE: changing this will break the prototype, so if we do it, we will need to update that too.
The text was updated successfully, but these errors were encountered: