Skip to content

Commit 24f835c

Browse files
RinkalBhojanitipusinghaw
authored andcommitted
fix: fixed minor issues
Signed-off-by: Rinkal Bhojani <[email protected]>
1 parent dddc4be commit 24f835c

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

Dockerfiles/Dockerfile.x509

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ RUN npm install -g pnpm
66
# Set the working directory
77
WORKDIR /app
88

9-
# Copy package.json and package-lock.json
109
COPY package.json ./
1110
COPY pnpm-workspace.yaml ./
12-
#COPY package-lock.json ./
1311

1412
ENV PUPPETEER_SKIP_DOWNLOAD=true
1513

@@ -18,7 +16,7 @@ RUN pnpm i --ignore-scripts
1816

1917
# Copy the rest of the application code
2018
COPY . .
21-
# RUN cd libs/prisma-service && npx prisma migrate deploy && npx prisma generate
19+
2220
RUN cd libs/prisma-service && npx prisma generate
2321

2422
# Build the x509 service
@@ -29,7 +27,7 @@ RUN npm run build x509
2927
FROM node:18-alpine
3028
# Install OpenSSL
3129
RUN apk add --no-cache openssl
32-
# RUN npm install -g pnpm
30+
3331
# Set the working directory
3432
WORKDIR /app
3533

@@ -38,7 +36,7 @@ COPY --from=build /app/dist/apps/x509/ ./dist/apps/x509/
3836

3937
# Copy the libs folder from the build stage
4038
COPY --from=build /app/libs/ ./libs/
41-
#COPY --from=build /app/package.json ./
39+
4240
COPY --from=build /app/node_modules ./node_modules
4341

4442
# Set the command to run the microservice

apps/api-gateway/src/oid4vc-issuance/oid4vc-issuance.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export class Oid4vcIssuanceController {
197197
return res.status(HttpStatus.OK).json(finalResponse);
198198
}
199199

200-
@Delete('/orgs/:orgId/oid4vc/:id')
200+
@Delete('/orgs/:orgId/oid4vc/issuers/:id')
201201
@ApiOperation({
202202
summary: 'Delete OID4VC issuer',
203203
description: 'Deletes an OID4VC issuer for the specified organization.'

apps/api-gateway/src/oid4vc-verification/dtos/oid4vc-verifier-presentation.dto.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { OpenId4VcVerificationPresentationState } from '@credebl/common/interfaces/oid4vp-verification';
2-
import { ApiPropertyOptional } from '@nestjs/swagger';
2+
import { ApiHideProperty, ApiPropertyOptional } from '@nestjs/swagger';
33
import { IsEnum, IsOptional, IsString, IsUrl } from 'class-validator';
44
/* eslint-disable camelcase */
55
import { ApiProperty } from '@nestjs/swagger';
@@ -338,6 +338,7 @@ export class PresentationRequestDto {
338338
* This property is not serialized into requests/responses but is required so `class-validator`
339339
* executes the validator with access to the whole object.
340340
*/
341+
@ApiHideProperty()
341342
@ApiPropertyOptional({
342343
description: 'Internal: ensures exactly one of dcql or presentationExchange is present'
343344
})

0 commit comments

Comments
 (0)