...
In api/api-spec/src/main/resources/spec/api
- You need to create a new directory that will be your new API class.
- In it, you must create a controller.xml in which you will describe the endpoints.
- In the newly created directory, make another directory. This will be your endpoint.
- In this directory, you must create an endpoint.xml file. This is where you describe the behavior of your endpoint for authorization.
And after that, we need to generate our objects.
...