fix: Separate models required for separate schema files
This commit is contained in:
parent
d343201724
commit
be0201ce76
16 changed files with 96 additions and 32 deletions
|
|
@ -1,9 +1,13 @@
|
|||
import "@typespec/json-schema";
|
||||
using TypeSpec.JsonSchema;
|
||||
|
||||
@jsonSchema("/modules/brew-v1.json")
|
||||
@jsonSchema("/modules/brew-latest.json")
|
||||
model BrewModule {
|
||||
model BrewModuleLatest {
|
||||
...BrewModuleV1;
|
||||
}
|
||||
|
||||
@jsonSchema("/modules/brew-v1.json")
|
||||
model BrewModuleV1 {
|
||||
/** The brew module installs Homebrew / Linuxbrew at build time and ensures the package manager remains up-to-date.
|
||||
* https://blue-build.org/reference/modules/brew/
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue