From 7979cf6a42d0106fef5fb025f98a4edee74d945e Mon Sep 17 00:00:00 2001 From: Richard Kenigs Date: Tue, 8 Oct 2024 16:23:47 +0200 Subject: [PATCH] update app dir docs, add enums, add status query --- openapi/app-directory/app-dir.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/openapi/app-directory/app-dir.yml b/openapi/app-directory/app-dir.yml index 457114f..3a13e52 100644 --- a/openapi/app-directory/app-dir.yml +++ b/openapi/app-directory/app-dir.yml @@ -43,14 +43,41 @@ paths: name: chain schema: type: string + enum: + - moonbeam + - moonriver example: moonbeam description: Filter by blockchain network (e.g., moonbeam) - in: query name: category schema: type: string + enum: + - defi + - dex + - bridges + - lending + - nfts + - gaming + - social + - wallets + - dao + - other example: dex description: Filter by category (e.g., dex) + - in: query + name: status + schema: + type: string + enum: + - active + - inactive + - review + - archived + - deleted + example: dex + default: active + description: Filter by status (e.g., active, deleted) responses: '200': description: A list of projects matching the query parameters.