add changeset

Signed-off-by: Aramis <sennyeyaramis@gmail.com>
This commit is contained in:
Aramis
2024-01-18 18:09:49 -05:00
parent ff3a604dae
commit 4c62935c8e
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/repo-tools': minor
---
Renames the `schema openapi *` commands into `package schema openapi *` and `repo schema openapi *`. The aim is to make it more clear what the command is operating on, the entire repo or just a single package.
The following commands now live under the `package` namespace,
- `schema openapi generate` is now `package schema openapi generate server`
- `schema openapi generate-client` is now `package schema openapi generate client`
- `schema openapi init` is now `package schema openapi init`
And these commands live under the new `repo` namespace,
- `schema openapi lint` is now `repo schema openapi lint`
- `schema openapi test` is now `repo schema openapi test`
- `schema openapi verify` is now `repo schema openapi verify`
This also reworks the `package schema openapi generate client` to accept only an output directory as the input directory can now be inferred.