API
Documenting

Documenting the API

Asqatasun API is OpenAPI 3 compliant.

As a contributor to Asqatasun, you may need the following information.

The code of the API is documented with annotations, that allows to easily have a comprehensive code base and the user interface provided by Swagger with all details coming from the annotations.

When coding on the API, you may want to know the grammar or vocabulary describing the annotations. Here are the suitable resources:

Finally, the library used to bridge Spring Boot on one hand and OpenAPI 3 on the other hand is SpringDoc. You may find interesting the Springdoc Demos, especially the Demo Spring Boot 2 Web MVC with OpenAPI 3, which source code is downloadable