Skip to content

Commit

Permalink
Merge pull request #30 from CMU-313/yiyao/create-api-for-checking-end…
Browse files Browse the repository at this point in the history
…orsed-comments

Edited Schemas to Fix Errors from Endorsement Feature Backend
  • Loading branch information
yiyao625 authored Oct 6, 2024
2 parents 5f7a7be + a86fe47 commit 5cdd296
Show file tree
Hide file tree
Showing 12 changed files with 451 additions and 138 deletions.
Binary file modified dump.rdb
Binary file not shown.
2 changes: 2 additions & 0 deletions public/openapi/components/schemas/PostObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ PostObject:
timestampISO:
type: string
description: An ISO 8601 formatted date string (complementing `timestamp`)
endorsed:
type: string
user:
type: object
properties:
Expand Down
2 changes: 2 additions & 0 deletions public/openapi/read/topic/topic_id.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ get:
type: string
timestamp:
type: number
endorsed:
type: string
votes:
type: number
deleted:
Expand Down
2 changes: 2 additions & 0 deletions public/openapi/write/posts/pid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ get:
type: string
timestamp:
type: number
endorsed:
type: string
flagId:
type: number
deleted:
Expand Down
Loading

0 comments on commit 5cdd296

Please sign in to comment.