File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Contains OpenAPI specifications for [CDOC2 project](https://open-eid.github.io/C
55Used for code generation by:
66* https://github.com/open-eid/cdoc2-java-ref-impl
77* https://github.com/open-eid/cdoc2-capsule-server
8- * https://github.com/open-eid/cdoc2-shares-server (WIP)
8+ * https://github.com/open-eid/cdoc2-shares-server
99
1010## Java
1111
@@ -44,7 +44,7 @@ So defining single Maven package repo from `open-eid` is enough for pulling cdoc
4444
4545Test that ` settings.xml ` is properly configured:
4646``` bash
47- mvn dependency::get -Dartifact=ee.cyber.cdoc2.openapi:cdoc2-key-capsules-openapi:2.1 .0:yaml
47+ mvn dependency::get -Dartifact=ee.cyber.cdoc2.openapi:cdoc2-key-capsules-openapi:2.2 .0:yaml
4848```
4949
5050Optionally specifying
@@ -56,7 +56,7 @@ Or from Maven pom.xml:
5656 <dependency >
5757 <groupId >ee.cyber.cdoc2.openapi</groupId >
5858 <artifactId >cdoc2-key-capsules-openapi</artifactId >
59- <version >2.1 .0</version >
59+ <version >2.2 .0</version >
6060 <type >yaml</type >
6161 </dependency >
6262 <dependency >
@@ -69,7 +69,7 @@ Or from Maven pom.xml:
6969
7070Copy into project directory:
7171``` bash
72- mvn dependency::copy -Dartifact=ee.cyber.cdoc2.openapi:cdoc2-key-capsules-openapi:2.1 .0:yaml -DoutputDirectory=./target/openapi
72+ mvn dependency::copy -Dartifact=ee.cyber.cdoc2.openapi:cdoc2-key-capsules-openapi:2.2 .0:yaml -DoutputDirectory=./target/openapi
7373mvn dependency::copy -Dartifact=ee.cyber.cdoc2.openapi:cdoc2-key-shares-openapi:1.0.0:yaml -DoutputDirectory=./target/openapi
7474```
7575
Original file line number Diff line number Diff line change 33 contact :
44 url : http://ria.ee
55 title : cdoc2-key-capsules
6- version : 2.1 .0
6+ version : 2.2 .0
77 description : API for exchanging CDOC2 ephemeral key material in key capsules
88servers :
99 - url : ' https://localhost:8443'
@@ -78,6 +78,11 @@ paths:
7878 type : string
7979 example : /key-capsules/KC0123456789ABCDEF
8080 description : ' URI of created resource. TransactionId can be extracted from URI as it follows pattern /key-capsules/{transactionId}'
81+ x-expiry-time :
82+ schema :
83+ type : string
84+ format : date-time
85+ description : Key capsule may be deleted by server after expiry time. Format rfc3339#section-5.6
8186 ' 400 ' :
8287 description : Bad request. Client error.
8388 security : []
Original file line number Diff line number Diff line change 168168 <goal >deploy-file</goal >
169169 </goals >
170170 <configuration >
171- <skip >true </skip >
171+ <skip >false </skip >
172172 <file >${project.basedir} /cdoc2-key-capsules-openapi.yaml</file >
173173 <groupId >ee.cyber.cdoc2.openapi</groupId >
174174 <artifactId >cdoc2-key-capsules-openapi</artifactId >
You can’t perform that action at this time.
0 commit comments