Skip to content

@shopware/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Jun 11:30
· 217 commits to main since this release
a122c60

Major Changes

Minor Changes

  • #534 6170dca Thanks @patzick! - loadSchema command added by splitting generate command

  • #534 6170dca Thanks @patzick! - Sorting paths in the same order by api patchs

  • #1017 12c8153 Thanks @patzick! - New command validateJson to check correctness of your OpenAPI json file.

  • #534 6170dca Thanks @patzick! - Command generate has been splitted and doing only transformation from json to d.ts file

  • #564 93a6048 Thanks @patzick! - Added apiType option in loadSchema command. With SHOPWARE_ADMIN_USERNAME and SHOPWARE_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! - Schema operations 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