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

Absolute Paths and File Protocol #1387

Open
emilioho2020 opened this issue Jun 26, 2023 · 0 comments
Open

Absolute Paths and File Protocol #1387

emilioho2020 opened this issue Jun 26, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@emilioho2020
Copy link

Hello, I have a data model written in jsonschema, using absolute paths in the file protocol (e.g. file:///myprojectrepo/myfolder/myschema.json) for all references and dependencies. I would like to generate python code from this.

However, it seems that the file protocol is not supported, uri's consisting solely of http and https.
Trying to generate the data model based on local absolute path (through removing the file:// prefix) also does not work, as the library expects relative paths.

Is there something I am missing? Otherwise it would be nice to have these features:

  • Supporting the file protocol as a valid URI type.
  • In general, supporting absolute paths as references in json schema.

Kind regards, Emile

@koxudaxi koxudaxi added the enhancement New feature or request label Aug 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants