From 6102e45056fc2c11736d3e9fa3c3a60c35c25023 Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Fri, 13 Feb 2026 10:36:08 -0800 Subject: [PATCH 1/2] update full comments to have "Track" as entity type --- api/swagger/swagger-v1-full.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/api/swagger/swagger-v1-full.yaml b/api/swagger/swagger-v1-full.yaml index 60af91f7..819d5d30 100644 --- a/api/swagger/swagger-v1-full.yaml +++ b/api/swagger/swagger-v1-full.yaml @@ -6553,7 +6553,7 @@ components: entity_id: type: string entity_type: - type: string + $ref: '#/components/schemas/comment_entity_type' user_id: type: string message: @@ -6615,7 +6615,7 @@ components: entity_id: type: string entity_type: - type: string + $ref: '#/components/schemas/comment_entity_type' user_id: type: string message: @@ -11553,6 +11553,11 @@ components: type: integer description: The reward amount example: 100 + comment_entity_type: + type: string + description: Type of entity that can be commented on + enum: + - Track responses: ParseError: description: When a mask can't be parsed From df1627eb6d97c6b94dc4507bd3b3ae99b6fe3016 Mon Sep 17 00:00:00 2001 From: Marcus Pasell <3690498+rickyrombo@users.noreply.github.com> Date: Fri, 13 Feb 2026 10:43:31 -0800 Subject: [PATCH 2/2] better names for autogen --- api/swagger/swagger-v1.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/api/swagger/swagger-v1.yaml b/api/swagger/swagger-v1.yaml index ca6eea45..35386bb5 100644 --- a/api/swagger/swagger-v1.yaml +++ b/api/swagger/swagger-v1.yaml @@ -163,6 +163,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -229,6 +230,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -534,6 +536,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -606,6 +609,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -3219,6 +3223,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: location content: application/json: schema: @@ -4005,6 +4010,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -4087,6 +4093,7 @@ paths: schema: type: string requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -5982,6 +5989,7 @@ paths: type: string example: "7eP5n" requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -6045,6 +6053,7 @@ paths: type: string example: "7eP5n" requestBody: + x-codegen-request-body-name: metadata required: true content: application/json: @@ -6370,6 +6379,7 @@ paths: description: Claims all the filtered undisbursed rewards for a user operationId: Claim Rewards requestBody: + x-codegen-request-body-name: reward required: true content: application/json: @@ -6395,7 +6405,7 @@ paths: description: Creates a new reward code with Solana signature verification operationId: Create Reward Code requestBody: - required: true + x-codegen-request-body-name: body content: application/json: schema: @@ -6439,6 +6449,7 @@ paths: operationId: Claim Prize description: 'Claims a prize by verifying a Solana transaction. User must send exactly 2 YAK to the prize receiver address. Returns the prize won and any redeem codes/URLs.' requestBody: + x-codegen-request-body-name: claim required: true content: application/json: