Elffuss BraidHub

kikocis/gaiax-credentials-tool public

main · 3.3 KiBRawPermalink
1{
2 "openapi": "3.0.0",
3 "info": {
4 "title": "API de Prueba",
5 "version": "1.0.0",
6 "description": "API para pruebas de GAIA-X compliance",
7 "contact": {
8 "name": "Soporte Técnico",
9 "email": "soporte@ejemplo.com",
10 "url": "https://ejemplo.com/soporte"
11 },
12 "license": {
13 "name": "Apache 2.0",
14 "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
15 }
16 },
17 "servers": [
18 {
19 "url": "https://api.ejemplo.com/v1",
20 "description": "Servidor de producción"
21 }
22 ],
23 "paths": {
24 "/test": {
25 "get": {
26 "summary": "Endpoint de prueba",
27 "description": "Endpoint para verificar la disponibilidad del servicio",
28 "operationId": "getTestStatus",
29 "tags": ["Test"],
30 "parameters": [
31 {
32 "name": "format",
33 "in": "query",
34 "description": "Formato de respuesta",
35 "required": false,
36 "schema": {
37 "type": "string",
38 "enum": ["json", "xml"],
39 "default": "json"
40 }
41 }
42 ],
43 "responses": {
44 "200": {
45 "description": "Operación exitosa",
46 "content": {
47 "application/json": {
48 "schema": {
49 "type": "object",
50 "properties": {
51 "status": {
52 "type": "string",
53 "example": "OK"
54 },
55 "timestamp": {
56 "type": "string",
57 "format": "date-time"
58 }
59 }
60 }
61 }
62 }
63 },
64 "400": {
65 "description": "Solicitud incorrecta"
66 },
67 "500": {
68 "description": "Error interno del servidor"
69 }
70 }
71 }
72 }
73 },
74 "components": {
75 "schemas": {
76 "Error": {
77 "type": "object",
78 "properties": {
79 "code": {
80 "type": "integer",
81 "format": "int32"
82 },
83 "message": {
84 "type": "string"
85 }
86 }
87 }
88 },
89 "securitySchemes": {
90 "bearerAuth": {
91 "type": "http",
92 "scheme": "bearer",
93 "bearerFormat": "JWT"
94 }
95 }
96 },
97 "security": [
98 {
99 "bearerAuth": []
100 }
101 ],
102 "tags": [
103 {
104 "name": "Test",
105 "description": "Endpoints de prueba"
106 }
107 ]
108}