I just tried the https://api-platform.com/docs/core/operations/#recommended-method example.
- I generated the
Book.classas described - Add
CreateBookPublicationclass - If I invoke the API I receive the following error:
(1/1) RuntimeException Cannot autowire service "App\Controller\CreateBookPublication": argument "$bookPublishingHandler" of method "__construct()" has type "App\Controller\BookPublishingHandler" but this class was not found.
Do you have any idea? I would like to generate an own hardcoded response without doctrine for test purposes.