From 760ee94dbd79fa019a051c9c915fa0a7a8b0968c Mon Sep 17 00:00:00 2001 From: Mustafa Date: Fri, 19 Apr 2024 23:20:25 +0200 Subject: [PATCH] fix: api docs --- .../IssuersCredentialControllerApiDocs.java | 27 +++++++------------ 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/IssuersCredentialControllerApiDocs.java b/src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/IssuersCredentialControllerApiDocs.java index 8b5cc4a0e..ec2e55c7a 100644 --- a/src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/IssuersCredentialControllerApiDocs.java +++ b/src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/IssuersCredentialControllerApiDocs.java @@ -203,8 +203,7 @@ public class IssuersCredentialControllerApiDocs { @RequestBody(content = { @Content(examples = @ExampleObject(""" { - "bpn": "BPNL000000000000", - "asJwt": false + "bpn": "BPNL000000000000" } """)) }) @@ -331,8 +330,7 @@ public class IssuersCredentialControllerApiDocs { "activityType": "vehicleDismantle", "allowedVehicleBrands": [ "Audi", "Abarth", "Alfa Romeo", "Chrysler" - ], - "asJwt": false + ] } """)) }) @@ -464,8 +462,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "BehaviorTwinCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """), @ExampleObject(name = "PcfCredential", value = """ @@ -473,8 +470,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "PcfCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """), @ExampleObject(name = "SustainabilityCredential", value = """ @@ -482,8 +478,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "SustainabilityCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """), @ExampleObject(name = "QualityCredential", value = """ @@ -491,8 +486,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "QualityCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """), @ExampleObject(name = "TraceabilityCredential", value = """ @@ -500,8 +494,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "TraceabilityCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """), @ExampleObject(name = "BehaviorTwinCredential", value = """ @@ -509,8 +502,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "BehaviorTwinCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """), @ExampleObject(name = "ResiliencyCredential", value = """ @@ -518,8 +510,7 @@ public class IssuersCredentialControllerApiDocs { "holderIdentifier": "BPNL000000000000", "type": "ResiliencyCredential", "contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf", - "contract-version": "1.0.0", - "asJwt": false + "contract-version": "1.0.0" } """)