{"info":{"title":"gentl-solid API","version":"0.0.0"},"servers":[{"url":"/api"}],"openapi":"3.1.1","paths":{"/health":{"get":{"operationId":"health.ping","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"time":{"type":"string","format":"date-time"}},"required":["ok","time"]}}}}}}},"/notes":{"post":{"operationId":"notes.create","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"body":{"type":"string","maxLength":10000,"default":""}},"required":["title"]}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","title","body","createdAt"]}}}}}},"get":{"operationId":"notes.list","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"body":{"type":"string"},"createdAt":{"type":"string","format":"date-time","x-native-type":"date"}},"required":["id","title","body","createdAt"]}}}}}}}},"/notes/{id}":{"delete":{"operationId":"notes.remove","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"]}}}}}}},"/me":{"get":{"operationId":"session.me","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"email":{"type":"string"}},"required":["id","name","email"]},{"type":"null"}]}}}}}}}}}