Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] create api-types dir if doesn't exist for api-gen tool #1503

Open
mkucmus opened this issue Dec 3, 2024 · 0 comments
Open

[FEATURE] create api-types dir if doesn't exist for api-gen tool #1503

mkucmus opened this issue Dec 3, 2024 · 0 comments
Labels
api-gen enhancement New feature or request

Comments

@mkucmus
Copy link
Collaborator

mkucmus commented Dec 3, 2024

Description

create api-types dir in case it is not present, but required in working directory where the @shopware/api-gen loadSchema command is executed.

Use Case

prevent from getting the error:

Error while loading OpenAPI schema JSON file. Checkout your .env file and try again.
 Error: ENOENT: no such file or directory, open '/api-types/storeApiSchema.json'

Proposed Solution

No response

Alternatives Considered

No response

Additional Context

No response

@mkucmus mkucmus added api-gen enhancement New feature or request labels Dec 3, 2024
@BrocksiNet BrocksiNet moved this to Developer Backlog in Composable Frontends Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api-gen enhancement New feature or request
Projects
Status: Developer Backlog
Development

No branches or pull requests

1 participant