From cb8b428a712e921ccbeb92d30b8f328caa360fbd Mon Sep 17 00:00:00 2001 From: Matthew Holloway Date: Fri, 11 Oct 2024 13:51:55 +1300 Subject: [PATCH] feat: api --- client/rfced_www_api.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/rfced_www_api.yaml b/client/rfced_www_api.yaml index 52bad16..b2f4f1d 100644 --- a/client/rfced_www_api.yaml +++ b/client/rfced_www_api.yaml @@ -14,8 +14,7 @@ paths: get: summary: Returns a list of homepage sections. responses: - '200': # status code - description: A JSON array of user names + '200': content: application/json: schema: @@ -48,6 +47,8 @@ components: type: string abstract: type: string + redtext: + type: string Card: type: object @@ -60,4 +61,4 @@ components: title: type: string body: - type: integer + type: string