aafre / aafre/artisan-engine

Add a /version Endpoint

Offen
#15 2 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Allkindoflower Auf GitHub ansehen
api enhancement good first issue
Vorherrschende Sprache
Python
Sterne
0
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Create a simple /version endpoint to quickly check which version of the service is running.

This is a great, self-contained task for a new contributor to get familiar with adding an endpoint to the FastAPI application.

**Acceptance Criteria**
- A new Pydantic model VersionResponse is added to artisan_engine/models.py.
- A new GET endpoint is created at /version in main.py.
- The endpoint returns a JSON response containing the version from the application's configuration.

Example response:
```json
{
"version": "0.1.0"
}
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.