Skip to content

Commit

Permalink
fix: swagger-docs (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeplotean authored Jun 19, 2023
1 parent f29af00 commit bf03b43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/kotlin/id/walt/issuer/backend/IssuerController.kt
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ object IssuerController {
.header<String>("Authorization")
.pathParam<String>("tenantId") { it.example(TenantId.DEFAULT_TENANT) }
.body<CredentialRequest>()
.json<CredentialResponse>("200"),
.json<String>("200"),
IssuerController::credential
))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ object WalletController {
.operationId("issuanceSessionInfo")
}
.queryParam<String>("sessionId")
.json<CredentialIssuanceSession>("200"),
.json<String>("200"),
WalletController::getIssuanceSessionInfo
), UserRole.AUTHORIZED)
post("startIssuerInitiatedIssuance", documented(
Expand Down

0 comments on commit bf03b43

Please sign in to comment.