Sfoglia il codice sorgente

Create the user outline for docs

Lee Morgan 2 mesi fa
parent
commit
23627f40d9
1 ha cambiato i file con 21 aggiunte e 0 eliminazioni
  1. 21 0
      docs/components/schemas/user.yaml

+ 21 - 0
docs/components/schemas/user.yaml

@@ -0,0 +1,21 @@
+type: object
+properties:
+  id:
+    type: string
+    format: uuid
+    description: Unique ID of the user
+    example: 019e03fe-c7e3-7c48-8f06-724cba55176b
+  name:
+    type: string
+    description: User name
+    example: John Smith
+  email:
+    type: string
+    format: email
+    description: User email
+    example: john.smith@mail.com
+  created_at:
+    type: string
+    format: date
+    description: Date user was created
+    example: 2026-05-07T20:01:37.779Z