Adding metadata to an API Platform Input DTO
For API-based projects, we heavily rely on API Platform as the foundation. How can I attach some metadata to my input DTO? That was a task I wanted to solve recently.
For API-based projects, we heavily rely on API Platform as the foundation. How can I attach some metadata to my input DTO? That was a task I wanted to solve recently.
We returned to the charming city of Lille for this year's edition of the API Platform Conference. However, this time, we weren't merely attendees; we were speakers. As we again set foot in France, we knew we were in for another exceptional experience.
In a current Magento 2 project we are focussing on building a headless instance that communicates with a kind of PWA application. In such an environment testing the APIs via Postman makes sense and since the Magento 2 API is documented via Swagger, one can easily import the API definition into Postman. Here is how to do it with httpie: