Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/redocly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
BUNDLE_ERR=$(npx redocly bundle "$spec_path" -o "docs/$api/$api.api.consolidated.v1.json" 2>&1)
if [ $? -ne 0 ]; then
echo "::warning::❌ Failed to bundle $api:\n$BUNDLE_ERR"
continue
exit 1
else
echo "✅ Bundled $api"
fi
Expand Down
2 changes: 1 addition & 1 deletion specification/apis/cps/cps.api.v1.cpsCertificates.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"content": {
"application/json": {
"schema": {
"$ref": "../../components/responses/GetCpsCertificatesRes.v1.json"
"$ref": "../../components/responses/getCpsCertificatesRes.v1.json"
}
},
"multipart/form-data": {
Expand Down
21 changes: 11 additions & 10 deletions specification/apis/pki/pki.api.v1.cacerts.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,20 @@
}
},
{
"name": "algorithm",
"in": "path",
"description": "Defines the algorithm for the PKI which shall be used."
"schema": {
"type": "string",
"enum": [
"secp256r1",
"secp521r1",
"ed448"
"name": "algorithm",
"in": "path",
"description": "Defines the algorithm for the PKI which shall be used.",
"schema": {
"type": "string",
"enum": [
"secp256r1",
"secp521r1",
"ed448"
],
"default": "secp256r1",
"example": "secp521r1"
}
}
}
],
"responses": {
"200": {
Expand Down
4 changes: 2 additions & 2 deletions specification/apis/pki/pki.api.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
"tags": [],
"paths": {
"/est/simpleenroll": {
"$ref": "./pki.api.v1.simpleEnroll.json"
"$ref": "./pki.api.v1.simpleenroll.json"
},
"/est/cacerts": {
"$ref": "./pki.api.v1.caCerts.json"
"$ref": "./pki.api.v1.cacerts.json"
},
"/pki/revokeCertificate" : {
"$ref": "./pki.api.v1.revokeCert.json"
Expand Down
21 changes: 11 additions & 10 deletions specification/apis/pki/pki.api.v1.simpleenroll.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,20 @@
}
},
{
"name": "algorithm",
"in": "path",
"description": "Defines the algorithm for the PKI which shall be used."
"schema": {
"type": "string",
"enum": [
"secp256r1",
"secp521r1",
"ed448"
"name": "algorithm",
"in": "path",
"description": "Defines the algorithm for the PKI which shall be used.",
"schema": {
"type": "string",
"enum": [
"secp256r1",
"secp521r1",
"ed448"
],
"default": "secp256r1",
"example": "secp521r1"
}
}
}
],
"requestBody": {
"content": {
Expand Down
2 changes: 1 addition & 1 deletion specification/apis/rcp/rcp.api.v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"$ref": "./rcp.api.v1.rootCertificateById.json"
},
"/rootcertificates": {
"$ref": "./rcp.api.v1.rootCertificates.json"
"$ref": "./rcp.api.v1.rootcertificates.json"
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"properties": {
"signedContractDataCollection": {
"type": "array",
"description": "Collection of signed contract data objects incl. `certificateInstallationRes`.\n> #### Default Contract\n> The CCP will provide in the ISO15118-2 just one item back - the Contract which is set to Default! The defined array is a preparation for the ISO15118-20"
"description": "Collection of signed contract data objects incl. `certificateInstallationRes`.\n> #### Default Contract\n> The CCP will provide in the ISO15118-2 just one item back - the Contract which is set to Default! The defined array is a preparation for the ISO15118-20",
"items": {
"$ref": "../schemas/signedContractData.v1.json"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"contractCertificate": {
"type": "string",
"description": "Contract Certificate in base64 encoded PEM form",
"example": "MIIB+zCCAaGgAwIBAgIQayalVTpSmBQQpxCvOm/wVTAKBggqhkjOPQQDAjBDMQswCQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRNTyBTdWIyIENBIFFBIEcxLjI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