mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-09-03 12:18:59 +00:00
don't export module/processor/framer registrations
This commit is contained in:
@@ -19,7 +19,7 @@ func GetModulesSchema() *jsonschema.Schema {
|
||||
}
|
||||
|
||||
moduleDefinitionSchemas := []*jsonschema.Schema{}
|
||||
for _, mod := range module.ModuleRegistry {
|
||||
for _, mod := range module.GetModuleRegistrations() {
|
||||
moduleSchema := &jsonschema.Schema{
|
||||
ID: mod.Type,
|
||||
Type: "object",
|
||||
|
||||
@@ -19,7 +19,7 @@ func GetProcessorsSchema() *jsonschema.Schema {
|
||||
}
|
||||
|
||||
processorDefinitionSchemas := []*jsonschema.Schema{}
|
||||
for _, proc := range processor.ProcessorRegistry {
|
||||
for _, proc := range processor.GetProcessorRegistrations() {
|
||||
processorSchema := &jsonschema.Schema{
|
||||
ID: proc.Type,
|
||||
Type: "object",
|
||||
|
||||
Reference in New Issue
Block a user