Closed Bug 1246630 Opened 9 years ago Closed 9 years ago

jsonschema2go: Support file schema (`file://....` URLs) in `$ref` references

Categories

(Taskcluster :: Workers, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: pmoore, Assigned: pmoore)

References

()

Details

Attachments

(1 file)

This is a requirement for taskcluster-worker as it will enable relative file system locations to be used in the json schema definitions checked into the tree of taskcluster-worker. These schema definitions get converted into generated go code (representing go types for marshalling/unmarshalling json data at runtime) during the build process of the taskcluster-worker. Since schemas will need to refer to other schemas checked into the source code tree, the underlying jsonschema2go library used will need to support urls that have the "file" schema (`file://...`). Currently it only support http(s) urls.
Blocks: 1246643
Blocks: 1246624
No longer blocks: 1246643
No longer depends on: 1246624
Attached file Github commit
Already committed - but this is the change for bookkeeping purposes.
Assignee: nobody → pmoore
Attachment #8717014 - Flags: review?(garndt)
Attachment #8717014 - Flags: review?(garndt)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: Generic-Worker → Workers
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: