This repository was archived by the owner on Jan 21, 2024. It is now read-only.

Description
I have an issue when I'm trying to validate some raml with associated JSON schema. Inside the schema there is a reference ($ref) to another schema using an id, the id is an http url but it's not available publicly because of security concerns.
I'd like to be able to pre-register the id against a file which will avoid the network lookup.
In ajv for example you can add the -r flag to register a set of local schemas.
Even if the schemas were available publicly then there is an issue when creating the files as you'd have to publish them globally on change.
I know you piggy back on top of AMF which has the concept of ResourceLoaders where this can be done, but I see no way of introducing a custom ResourceLoader in the webapi-parser abstraction.