diff --git a/.github/workflows/app-e2e.yml b/.github/workflows/app-e2e.yml index 31820cba13..92cf6fed16 100644 --- a/.github/workflows/app-e2e.yml +++ b/.github/workflows/app-e2e.yml @@ -2,10 +2,10 @@ name: BE App E2E tests on: workflow_call: - secrets: - ALLURE_TOKEN: - description: 'A token passed from the caller workflow' - required: true + # secrets: + # ALLURE_TOKEN: + # description: 'A token passed from the caller workflow' + # required: true inputs: environmentTags: type: string diff --git a/packages/api/src/address/address.controller.ts b/packages/api/src/address/address.controller.ts index 82fb6ae162..2d7d9839a6 100644 --- a/packages/api/src/address/address.controller.ts +++ b/packages/api/src/address/address.controller.ts @@ -44,6 +44,7 @@ export class AddressController { @Get(":address") @ApiParam({ name: "address", + type: String, schema: { pattern: ADDRESS_REGEX_PATTERN }, example: constants.address, description: "Valid hex address", @@ -106,6 +107,7 @@ export class AddressController { @Get(":address/logs") @ApiParam({ name: "address", + type: String, schema: { pattern: ADDRESS_REGEX_PATTERN }, example: constants.contractAddressWithLogs, description: "Valid hex address", @@ -130,6 +132,7 @@ export class AddressController { @Get(":address/transfers") @ApiParam({ name: "address", + type: String, schema: { pattern: ADDRESS_REGEX_PATTERN }, example: constants.address, description: "Valid hex address", diff --git a/packages/api/src/token/token.controller.ts b/packages/api/src/token/token.controller.ts index 660f18ae3f..7232eed00c 100644 --- a/packages/api/src/token/token.controller.ts +++ b/packages/api/src/token/token.controller.ts @@ -57,6 +57,7 @@ export class TokenController { @Get(":address") @ApiParam({ name: "address", + type: String, schema: { pattern: ADDRESS_REGEX_PATTERN }, example: constants.tokenAddress, description: "Valid hex address", @@ -75,6 +76,7 @@ export class TokenController { @Get(":address/transfers") @ApiParam({ name: "address", + type: String, schema: { pattern: ADDRESS_REGEX_PATTERN }, example: constants.tokenAddress, description: "Valid hex address", diff --git a/packages/api/src/transaction/transaction.controller.ts b/packages/api/src/transaction/transaction.controller.ts index 846bf0f61c..0a358422e3 100644 --- a/packages/api/src/transaction/transaction.controller.ts +++ b/packages/api/src/transaction/transaction.controller.ts @@ -64,6 +64,7 @@ export class TransactionController { @Get(":transactionHash") @ApiParam({ name: "transactionHash", + type: String, schema: { pattern: TX_HASH_REGEX_PATTERN }, example: constants.txHash, description: "Valid transaction hash", @@ -84,6 +85,7 @@ export class TransactionController { @Get(":transactionHash/transfers") @ApiParam({ name: "transactionHash", + type: String, schema: { pattern: TX_HASH_REGEX_PATTERN }, example: constants.txHash, description: "Valid transaction hash", @@ -114,6 +116,7 @@ export class TransactionController { @Get(":transactionHash/logs") @ApiParam({ name: "transactionHash", + type: String, schema: { pattern: TX_HASH_REGEX_PATTERN }, example: constants.txHash, description: "Valid transaction hash",