refactor: store module schemas in their own subdirectory, add a few more modules

This commit is contained in:
xyny 2024-05-13 20:38:22 +03:00
parent 2fa5fecc7c
commit 6e6ccccb6c
6 changed files with 49 additions and 21 deletions

View file

@ -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>
}