From d57f49982d734704d187f1e11c8a0e56ae9c4775 Mon Sep 17 00:00:00 2001 From: Sebastien Guillemot Date: Tue, 19 Mar 2024 11:05:58 +0900 Subject: [PATCH] Small OpenAPI fixes --- docs/bin/openapi.json | 4 ++-- webserver/server/app/controllers/MintBurnHistoryController.ts | 2 +- .../server/app/controllers/ProjectedNftRangeController.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/bin/openapi.json b/docs/bin/openapi.json index 76232c8e..89cc7dae 100644 --- a/docs/bin/openapi.json +++ b/docs/bin/openapi.json @@ -1913,7 +1913,7 @@ }, "/asset/mint-burn-history": { "post": { - "operationId": "ProjectedNftRange", + "operationId": "MintBurnHistory", "responses": { "200": { "description": "", @@ -2016,7 +2016,7 @@ } } }, - "description": "Query any [projected NFT](https://github.com/dcSpark/projected-nft-whirlpool).", + "description": "Query any projected NFT. Learn more[here](https://github.com/dcSpark/projected-nft-whirlpool).", "security": [], "parameters": [], "requestBody": { diff --git a/webserver/server/app/controllers/MintBurnHistoryController.ts b/webserver/server/app/controllers/MintBurnHistoryController.ts index c3334800..44915075 100644 --- a/webserver/server/app/controllers/MintBurnHistoryController.ts +++ b/webserver/server/app/controllers/MintBurnHistoryController.ts @@ -32,7 +32,7 @@ export class MintRangeController extends Controller { */ @SuccessResponse(`${StatusCodes.OK}`) @Post() - public async projectedNftRange( + public async mintBurnHistory( @Body() requestBody: EndpointTypes[typeof route]['input'], @Res() diff --git a/webserver/server/app/controllers/ProjectedNftRangeController.ts b/webserver/server/app/controllers/ProjectedNftRangeController.ts index 320327f1..28649d93 100644 --- a/webserver/server/app/controllers/ProjectedNftRangeController.ts +++ b/webserver/server/app/controllers/ProjectedNftRangeController.ts @@ -25,7 +25,7 @@ const route = Routes.projectedNftEventsRange; @Route('projected-nft/range') export class ProjectedNftRangeController extends Controller { /** - * Query any [projected NFT](https://github.com/dcSpark/projected-nft-whirlpool). + * Query any projected NFT. Learn more[here](https://github.com/dcSpark/projected-nft-whirlpool). */ @SuccessResponse(`${StatusCodes.OK}`) @Post()