From 8a0ec021f90fdbb524161bceb2e3cd85f3f055aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Coze?= <96086580+SebastienCozeDev@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:36:03 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20Update=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-fr.md | 5 +++-- README.md | 5 +++-- main.py | 18 +++++++++--------- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README-fr.md b/README-fr.md index 1ed69a5..6802709 100644 --- a/README-fr.md +++ b/README-fr.md @@ -43,10 +43,11 @@ make build-up-d-prod ## 🔄 Mises à jour -### 🔄 v0.1.2 — WIP +### 🔄 v0.1.2 — 4 mars 2026 +- ✨ Implémentation des opérations de lecture pour contrôles de jeu filtrés - 📝 Ajout de la documentation pour le tag Health. -### 🔄 v0.1.1 — 3 mars, 2026 +### 🔄 v0.1.1 — 3 mars 2026 - 📝 Ajout du plan de développement dans les fichiers README. ### 🔄 v0.1.0 — 17 février 2026 diff --git a/README.md b/README.md index 2a49e41..2db8d3c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ⚙️ RAGE Data API -![Version](https://img.shields.io/badge/version-0.1.1-blue.svg) +![Version](https://img.shields.io/badge/version-0.1.2-blue.svg) ![Python](https://img.shields.io/badge/python-3.10%2B-yellow.svg) ![FastAPI](https://img.shields.io/badge/FastAPI-0.128.0-green.svg) @@ -43,7 +43,8 @@ make build-up-d-prod ## 🔄 Updates -### 🔄 v0.1.2 — WIP +### 🔄 v0.1.2 — March 4, 2026 +- ✨ Implemented read operations for filtered game controls - 📝 Added the Health tag documentation. ### 🔄 v0.1.1 — March 3, 2026 diff --git a/main.py b/main.py index 423daf8..58c3a81 100644 --- a/main.py +++ b/main.py @@ -15,8 +15,8 @@ tags_metadata = [ { - "name": "Models", - "description": "Operations with GTA5 models. Retrieve various model data.", + "name": "GTA5", + "description": "Operations with Grand Theft Auto V models. Retrieve various model data.", }, { "name": "Health", @@ -34,7 +34,7 @@ title="⚙️ RAGE Data API", summary="RAGE Data API allows you to retrieve useful information from video games using the RAGE game engine. This information helps, in particular, mod developers to simplify their research.", description=readme_content, - version="0.1.1", + version="0.1.2", openapi_tags=tags_metadata, docs_url="/", redoc_url="/redoc", @@ -43,7 +43,7 @@ @app.get( "/blip_colors", - tags=["Models"], + tags=["GTA5"], summary="Retrieve blip colors data", description="Fetches and returns the JSON data for blip colors models.", ) @@ -56,7 +56,7 @@ def read_blip_colors(result = Depends(get_blip_colors)) -> List[BlipColor]: @app.get( "/blip_models", - tags=["Models"], + tags=["GTA5"], summary="Retrieve blip models data", description="Fetches and returns the JSON data for blip models.", ) @@ -69,7 +69,7 @@ def read_blip_models(result = Depends(get_blip_models)) -> List[BlipModel]: @app.get( "/controls", - tags=["Models"], + tags=["GTA5"], summary="Retrieve controls data", description="Fetches and returns the JSON data for controls.", ) @@ -82,7 +82,7 @@ def read_controls(result = Depends(get_controls)) -> List[Control]: @app.get( "/markers", - tags=["Models"], + tags=["GTA5"], summary="Retrieve markers data", description="Fetches and returns the JSON data for markers.", ) @@ -95,7 +95,7 @@ def read_markers(result = Depends(get_markers)) -> List[Marker]: @app.get( "/ped_models", - tags=["Models"], + tags=["GTA5"], summary="Retrieve ped models data", description="Fetches and returns the JSON data for ped models.", ) @@ -108,7 +108,7 @@ def read_ped_models(result = Depends(get_ped_models)) -> List[PedModel]: @app.get( "/weapons", - tags=["Models"], + tags=["GTA5"], summary="Retrieve weapons data", description="Fetches and returns the JSON data for weapons models.", ) From 1010c36afbd569f8c7db94572a039c549acc0c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Coze?= <96086580+SebastienCozeDev@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:36:18 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=93=9D=20Update=20documentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README-fr.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-fr.md b/README-fr.md index 6802709..6a5d92f 100644 --- a/README-fr.md +++ b/README-fr.md @@ -1,6 +1,6 @@ # ⚙️ RAGE Data API -![Version](https://img.shields.io/badge/version-0.1.1-blue.svg) +![Version](https://img.shields.io/badge/version-0.1.2-blue.svg) ![Python](https://img.shields.io/badge/python-3.10%2B-yellow.svg) ![FastAPI](https://img.shields.io/badge/FastAPI-0.128.0-green.svg)