refactor: store module schemas in their own subdirectory, add a few more modules
This commit is contained in:
parent
2fa5fecc7c
commit
6e6ccccb6c
6 changed files with 49 additions and 21 deletions
|
|
@ -3,11 +3,11 @@ import "./modules.tsp";
|
|||
|
||||
using TypeSpec.JsonSchema;
|
||||
|
||||
@jsonSchema()
|
||||
@jsonSchema("recipe.json")
|
||||
model recipe {
|
||||
name: string,
|
||||
description: string,
|
||||
"base-image": string,
|
||||
"image-version": string,
|
||||
modules: Array<module>
|
||||
modules: Array<Module>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue