From 07dc9ee931fa58dd6d6189374cdd0b2ed3c29877 Mon Sep 17 00:00:00 2001 From: Richard Kenigs <18597956+Rihyx@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:01:26 +0200 Subject: [PATCH] update app dir docs, add enums, add status query (#3) * update app dir docs, add enums, add status query * fix --- openapi/app-directory/app-dir.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/openapi/app-directory/app-dir.yml b/openapi/app-directory/app-dir.yml index 457114f..5a76a8f 100644 --- a/openapi/app-directory/app-dir.yml +++ b/openapi/app-directory/app-dir.yml @@ -43,14 +43,38 @@ 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 - example: dex + enum: + - defi + - dex + - bridges + - lending + - nfts + - gaming + - social + - wallets + - dao + - other description: Filter by category (e.g., dex) + - in: query + name: status + schema: + type: string + enum: + - active + - inactive + - review + - archived + - deleted + description: Filter by status (e.g., active, deleted). If nothing is selected then it will return active projects. responses: '200': description: A list of projects matching the query parameters.