Skip to content

@shopware/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 04 Nov 11:33
· 8 commits to main since this release

Minor Changes

  • #1405 f9fb243 Thanks @patzick! - Updated openapi-typescript to v7. Additional checks for better generation

  • #1365 6abe9ab Thanks @patzick! - validateJson command now checks endpoints exposed by the API to show if there are any endpoints missing in the schema or the schema contains some endpoints definitions, which are not exposed by the backend instance

    tun it in the console like this:

    shopware-api-gen validateJson --apiType=store
    
    shopware-api-gen validateJson --apiType=admin

    You need to have the same .env variables as needed for loadSchema command as the CLI is checking endpoints against the running instance.

Patch Changes

  • #1364 221af3c Thanks @patzick! - Fix patching schema when there is an oveerite with the _DELETE key, and the value was not present in the original schema. In that case there is nothing to delete and value should be omitted.

  • #1304 183eee9 Thanks @mkucmus! - Fix import pitfall.

  • #1330 2fdb986 Thanks @mkucmus! - Avoid schema loading when internal value _DELETE_ is used for $ref key.

    parse function of json5 library tries to load a $ref by loading a file under the reference value, and that's why

    ENOENT: no such file or directory, open '{cwd}/_DELETE'_

    error was being thrown when there was no _DELETE_ schema available locally (in the same json schema).

  • Updated dependencies [6abe9ab, 0643174, 266bb32, f9fb243, 15bebee, ebb10eb]: