-
Notifications
You must be signed in to change notification settings - Fork 1
/
openapi.json
1 lines (1 loc) · 1.15 KB
/
openapi.json
1
{"openapi":"3.0.2","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/dreams":{"get":{"summary":"Dreams","operationId":"dreams_dreams_get","parameters":[{"required":true,"schema":{"title":"Prompt","type":"string"},"name":"prompt","in":"query"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status":{"get":{"summary":"Status","operationId":"status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"HTTPValidationError":{"title":"HTTPValidationError","type":"object","properties":{"detail":{"title":"Detail","type":"array","items":{"$ref":"#/components/schemas/ValidationError"}}}},"ValidationError":{"title":"ValidationError","required":["loc","msg","type"],"type":"object","properties":{"loc":{"title":"Location","type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"msg":{"title":"Message","type":"string"},"type":{"title":"Error Type","type":"string"}}}}}}