This commit is contained in:
alessandro barucci
2026-10-26 00:25:18 +01:00
parent 1df884da84
commit 1bc033c329
46 changed files with 2958 additions and 0 deletions
@@ -0,0 +1,54 @@
# Contratto pubblico di {{PROGETTO}} — FONTE DI VERITÀ (D-002).
# Si modifica PRIMA del codice. Ogni operazione cita la spec che la definisce.
openapi: 3.1.0
info:
title: "{{PROGETTO}} API"
version: 0.1.0
description: |
Contratto dell'API di {{PROGETTO}}.
Documentazione redatta con il metodo spec-driven di STS Lab Srl.
servers:
- url: /api/v1
tags:
- name: health
description: Stato del servizio
paths:
/health:
get:
tags: [health]
summary: Stato del servizio
security: []
responses:
"200":
description: Servizio attivo
content:
application/json:
schema:
type: object
properties:
status:
type: string
example: ok
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
schemas:
Error:
type: object
required: [error]
properties:
error:
type: object
required: [code, message]
properties:
code:
type: string
message:
type: string
details:
type: object
security:
- BearerAuth: []