Documentation
¶
Overview ¶
Package platform orchestrates parsing of all Platform Gateway OpenAPI specs and merges resources by tag-name across specs. The output is a list of canonical Resources ready for code emission. Generated commands live under internal/commands/platform/generated/ so any product (pro, school, etc.) can wire selected resources into its command tree.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
Generate emits one Go file per resource into outputDir. Returns the list of generated file paths.
func LoadResources ¶
LoadResources walks specsDir for *.json platform spec files, parses each, and merges resources sharing the same name (e.g. "devices" appears in device-groups-api.json and device-inventory-api.json — operations from both merge into a single Resource).
Types ¶
This section is empty.