Commit Graph

7 Commits

Author SHA1 Message Date
javier 4f5c4ab0d6 Fixed the "swift-openapi-generator" package dependency to 1.11.0 in the package file to avoid a plugin issue when building from folders with unicode characters. 2026-03-24 02:17:01 +01:00
javier 25b62a4f67 Updated the year reference for the copyrights in the package. 2026-03-23 01:05:09 +01:00
javier 428eedd89d Implemented the Services and Database GET endpoints (#2)
This PR contains the work done to include the define the information sections of the `OpenAPI` specification document and all the `GET` endpoints of the _Service_ and _Database_ categories.

The following endpoints have been defined in the document, and also tested manually with `Swift`:
* GET `/`
* GET `/artists/{artist_id}`
* GET `/artists/{artist_id}/releases`
* GET `/labels/{label_id}`
* GET `/labels/{label_id}/releases`
* GET `/masters/{master_id}`
* GET `/masters/{master_id}/versions`
* GET `/releases/{release_id}`
* GET `/releases/{release_id}/rating`
* GET `/releases/{release_id}/rating/{username}`
* GET `/releases/{release_id}/stats`
* GET `/database/search`

In addition, a first version of the _Github Pages_ documentation has been generated from the `DocC` documentation catalog, and the generated Swift code from the `openapi.yaml` file.

Reviewed-on: #2
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-09 23:51:39 +00:00
javier 80ab289ae8 Added the files headers to the existing files in the project. 2025-10-06 18:10:59 +02:00
javier 20a842c1d6 Added the swift-docc-plugin package as a dependency in the Package.swift file. 2025-10-06 17:34:27 +02:00
javier bb8d2be87f Defined the platforms, product, and targets to start work in the Package.swift file. 2025-10-06 17:29:09 +02:00
javier 21a8f20a62 Initial Commit 2025-10-06 17:14:31 +02:00