Skip to content

Commit

Permalink
Merge pull request #21 from eu-digital-green-certificates/fix/dgcg-en…
Browse files Browse the repository at this point in the history
…dpoints

Fix: Wrong Endpoints for Uploading/Deleting Certificates
  • Loading branch information
f11h authored May 7, 2021
2 parents e0d1592 + bd26a69 commit 908ee5c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public interface DgcGatewayConnectorRestClient {
* @param cmsSignedCertificate CMS Signed Certificate Message.
* @return ResponseEntity with upload result.
*/
@PostMapping(value = "/signerInformation", consumes = "application/cms")
@PostMapping(value = "/signerCertificate", consumes = "application/cms")
ResponseEntity<Void> uploadSignerInformation(@RequestBody String cmsSignedCertificate);

/**
Expand All @@ -65,7 +65,7 @@ public interface DgcGatewayConnectorRestClient {
* @param cmsSignedCertificate CMS Signed Certificate Message.
* @return ResponseEntity with delete result.
*/
@DeleteMapping(value = "/signerInformation", consumes = "application/cms")
@DeleteMapping(value = "/signerCertificate", consumes = "application/cms")
ResponseEntity<Void> deleteSignerInformation(@RequestBody String cmsSignedCertificate);

}

0 comments on commit 908ee5c

Please sign in to comment.