Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 760ee94

Browse files
mustafasalfitinitin-vavdiya
authored andcommitted
fix: api docs
1 parent 3da1eff commit 760ee94

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

src/main/java/org/eclipse/tractusx/managedidentitywallets/apidocs/IssuersCredentialControllerApiDocs.java

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,7 @@ public class IssuersCredentialControllerApiDocs {
203203
@RequestBody(content = {
204204
@Content(examples = @ExampleObject("""
205205
{
206-
"bpn": "BPNL000000000000",
207-
"asJwt": false
206+
"bpn": "BPNL000000000000"
208207
}
209208
"""))
210209
})
@@ -331,8 +330,7 @@ public class IssuersCredentialControllerApiDocs {
331330
"activityType": "vehicleDismantle",
332331
"allowedVehicleBrands": [
333332
"Audi", "Abarth", "Alfa Romeo", "Chrysler"
334-
],
335-
"asJwt": false
333+
]
336334
}
337335
"""))
338336
})
@@ -464,62 +462,55 @@ public class IssuersCredentialControllerApiDocs {
464462
"holderIdentifier": "BPNL000000000000",
465463
"type": "BehaviorTwinCredential",
466464
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
467-
"contract-version": "1.0.0",
468-
"asJwt": false
465+
"contract-version": "1.0.0"
469466
}
470467
"""),
471468
@ExampleObject(name = "PcfCredential", value = """
472469
{
473470
"holderIdentifier": "BPNL000000000000",
474471
"type": "PcfCredential",
475472
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
476-
"contract-version": "1.0.0",
477-
"asJwt": false
473+
"contract-version": "1.0.0"
478474
}
479475
"""),
480476
@ExampleObject(name = "SustainabilityCredential", value = """
481477
{
482478
"holderIdentifier": "BPNL000000000000",
483479
"type": "SustainabilityCredential",
484480
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
485-
"contract-version": "1.0.0",
486-
"asJwt": false
481+
"contract-version": "1.0.0"
487482
}
488483
"""),
489484
@ExampleObject(name = "QualityCredential", value = """
490485
{
491486
"holderIdentifier": "BPNL000000000000",
492487
"type": "QualityCredential",
493488
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
494-
"contract-version": "1.0.0",
495-
"asJwt": false
489+
"contract-version": "1.0.0"
496490
}
497491
"""),
498492
@ExampleObject(name = "TraceabilityCredential", value = """
499493
{
500494
"holderIdentifier": "BPNL000000000000",
501495
"type": "TraceabilityCredential",
502496
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
503-
"contract-version": "1.0.0",
504-
"asJwt": false
497+
"contract-version": "1.0.0"
505498
}
506499
"""),
507500
@ExampleObject(name = "BehaviorTwinCredential", value = """
508501
{
509502
"holderIdentifier": "BPNL000000000000",
510503
"type": "BehaviorTwinCredential",
511504
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
512-
"contract-version": "1.0.0",
513-
"asJwt": false
505+
"contract-version": "1.0.0"
514506
}
515507
"""),
516508
@ExampleObject(name = "ResiliencyCredential", value = """
517509
{
518510
"holderIdentifier": "BPNL000000000000",
519511
"type": "ResiliencyCredential",
520512
"contract-template": "https://public.catena-x.org/contracts/traceabilty.v1.pdf",
521-
"contract-version": "1.0.0",
522-
"asJwt": false
513+
"contract-version": "1.0.0"
523514
}
524515
""")
525516

0 commit comments

Comments
 (0)