-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Nuxt Generator with -f openapi3
options is not working with 500
error code.
#365
Comments
I can reproduce the same issue on my system with API-Platform 3.3 I've used this command: The output of the command was: Code for the "VehicleManufacturer" resource type has been generated!
Code for the "VehiclePartCondition" resource type has been generated!
Code for the "VehiclePart" resource type has been generated!
Code for the "Vehicle" resource type has been generated! It recognizes all available API-Platform Endpoints, but when I try to access the generated page, i get this error: Cannot read properties of null (reading 'hydra:member')
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async setup (./components/vehiclemanufacturer/VehicleManufacturerList.js:49:18) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
API Platform version(s) affected: x.y.z
Description
Nuxt Generator with
-f openapi3
options is not working with500
error code.The error message is:
How to reproduce
Follow step on https://api-platform.com/docs/create-client/nuxt/ but using
-f openapi3
option and adddocs.json
to url.Possible Solution
Additional Context
I also tried different OpenAPI 3 specs from Swagger's Pet Store 3, it still gave me the same error. I also tried Quasar generator with OpenAPI 3 specs and it's working fine.
A bit out of topic of this bug, I have some questions:
The text was updated successfully, but these errors were encountered: