Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store holds a parsed SchemaStore catalog and resolves file paths to schema locations. When backed by a local clone, schemas resolve to local files first. Otherwise, schemas are fetched remotely and cached locally.
func Open ¶
Open reads the SchemaStore catalog from bundlePath and returns a Store. The bundlePath should be the root of a SchemaStore clone or download containing src/api/json/catalog.json and src/schemas/json/*.json.
func OpenEmbedded ¶ added in v2.2.0
OpenEmbedded creates a Store from the embedded SchemaStore catalog. Schemas resolve to remote URLs since no local clone is available.
Click to show internal directories.
Click to hide internal directories.