Major Changes
- #871
1566f7a
Thanks @patzick! - Read more about new major release: https://github.com/shopware/frontends/discussions/965
Minor Changes
-
#534
6170dca
Thanks @patzick! -loadSchema
command added by splittinggenerate
command -
#534
6170dca
Thanks @patzick! - Sortingpaths
in the same order by api patchs -
#1017
12c8153
Thanks @patzick! - New commandvalidateJson
to check correctness of your OpenAPI json file. -
#534
6170dca
Thanks @patzick! - Commandgenerate
has been splitted and doing only transformation from json to d.ts file -
#564
93a6048
Thanks @patzick! - AddedapiType
option inloadSchema
command. WithSHOPWARE_ADMIN_USERNAME
andSHOPWARE_ADMIN_PASSWORD
env variables we can now authorize Admin API schema.example:
# load schema from store API pnpx @shopware/api-gen loadSchema --apiType=store --filename=storeApiSchema.json # load schema from admin API pnpx @shopware/api-gen loadSchema --apiType=admin --filename=adminApiSchema.json
-
#1032
0b6133e
Thanks @patzick! - Possibility to add partial patches to the JSON schema. -
#903
18d8528
Thanks @mdanilowicz! - Add Blob type support -
#534
6170dca
Thanks @patzick! - Schemaoperations
is now a generic type to help with overriding types -
#1032
0b6133e
Thanks @patzick! - Added support for JSON5 config files. Now you can use comments in your config files and JSON schema.
Patch Changes
-
#534
6170dca
Thanks @patzick! - GeneratedGenericRecord
is more open to avoid type problems -
#1032
0b6133e
Thanks @patzick! - Fixed optional body parameters, now it's processed correctly. The body is required by default (if defined). -
#928
bada1cd
Thanks @mdanilowicz! - Skip GenericRecord for the object with additionalProperties -
Updated dependencies [
2343012
,1566f7a
,782ef4d
,9643e56
,1583a7a
,97d2859
,d60d062
,c729e70
,89a97a4
,864616f
]:- @shopware/[email protected]