getCompiledAwManifestSchema returns the compiled aw manifest schema, compiling it once and caching.
()
| 88 | |
| 89 | // getCompiledAwManifestSchema returns the compiled aw manifest schema, compiling it once and caching. |
| 90 | func getCompiledAwManifestSchema() (*jsonschema.Schema, error) { |
| 91 | awManifestSchemaOnce.Do(func() { |
| 92 | compiledAwManifestSchema, awManifestSchemaError = compileSchema(awManifestSchema, "http://contoso.com/aw-manifest-schema.json") |
| 93 | }) |
| 94 | return compiledAwManifestSchema, awManifestSchemaError |
| 95 | } |
| 96 | |
| 97 | // getParsedSchemaDoc returns the parsed (any) representation of a known schema JSON string. |
| 98 | // For the two well-known schemas (mainWorkflowSchema, mcpConfigSchema) the result is cached |
no test coverage detected