diff --git a/.github/workflows/redocly.yaml b/.github/workflows/redocly.yaml index 22c7dea..cd93cfe 100644 --- a/.github/workflows/redocly.yaml +++ b/.github/workflows/redocly.yaml @@ -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 diff --git a/specification/apis/cps/cps.api.v1.cpsCertificates.json b/specification/apis/cps/cps.api.v1.cpsCertificates.json index c43ccf5..c7737f1 100644 --- a/specification/apis/cps/cps.api.v1.cpsCertificates.json +++ b/specification/apis/cps/cps.api.v1.cpsCertificates.json @@ -26,7 +26,7 @@ "content": { "application/json": { "schema": { - "$ref": "../../components/responses/GetCpsCertificatesRes.v1.json" + "$ref": "../../components/responses/getCpsCertificatesRes.v1.json" } }, "multipart/form-data": { diff --git a/specification/apis/pki/pki.api.v1.cacerts.json b/specification/apis/pki/pki.api.v1.cacerts.json index 69bc428..92fa00c 100644 --- a/specification/apis/pki/pki.api.v1.cacerts.json +++ b/specification/apis/pki/pki.api.v1.cacerts.json @@ -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": { diff --git a/specification/apis/pki/pki.api.v1.json b/specification/apis/pki/pki.api.v1.json index ae72fbc..b47edf4 100644 --- a/specification/apis/pki/pki.api.v1.json +++ b/specification/apis/pki/pki.api.v1.json @@ -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" diff --git a/specification/apis/pki/pki.api.v1.simpleenroll.json b/specification/apis/pki/pki.api.v1.simpleenroll.json index 42d9574..c92117d 100644 --- a/specification/apis/pki/pki.api.v1.simpleenroll.json +++ b/specification/apis/pki/pki.api.v1.simpleenroll.json @@ -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": { diff --git a/specification/apis/rcp/rcp.api.v1.json b/specification/apis/rcp/rcp.api.v1.json index 10c9232..6625c98 100644 --- a/specification/apis/rcp/rcp.api.v1.json +++ b/specification/apis/rcp/rcp.api.v1.json @@ -25,7 +25,7 @@ "$ref": "./rcp.api.v1.rootCertificateById.json" }, "/rootcertificates": { - "$ref": "./rcp.api.v1.rootCertificates.json" + "$ref": "./rcp.api.v1.rootcertificates.json" } } diff --git a/specification/components/responses/getSignedContractDataRes.v1.json b/specification/components/responses/getSignedContractDataRes.v1.json index 39b5c0d..484d3ff 100644 --- a/specification/components/responses/getSignedContractDataRes.v1.json +++ b/specification/components/responses/getSignedContractDataRes.v1.json @@ -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" } diff --git a/specification/components/schemas/contractCertificateData.v1.json b/specification/components/schemas/contractCertificateData.v1.json index 24129ba..bc6248d 100644 --- a/specification/components/schemas/contractCertificateData.v1.json +++ b/specification/components/schemas/contractCertificateData.v1.json @@ -15,7 +15,7 @@ "contractCertificate": { "type": "string", "description": "Contract Certificate in base64 encoded PEM form", - "example": "MIIB+zCCAaGgAwIBAgIQayalVTpSmBQQpxCvOm/wVTAKBggqhkjOPQQDAjBDMQswCQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRNTyBTdWIyIENBIFFBIEcxLjIuMTAeFw0yNDA3MDQxNjEwNTlaFw0yNjA3MDExNDMyMDBaMDAxFTATBgNVBAoTDEh1YmplY3QgR21iSDEXMBUGA1UEAxMOREVJQ0VDT1BOQ0NFUlQwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAAQ16OPJzNDcXsmWi88Onr5lEDgs3TGhj/AhmTUfJUM3SWq+GX34hfaC/ZHuzt6n907QTCI2PUwBsysBMC+t2bWGo4GJMIGGMA8GA1UdEwEB/wQFMAMBAQAwEQYDVR0OBAoECEWCpUe1d7/dMBMGA1UdIwQMMAqACEUuaaE2ImxIMDsGCCsGAQUFBwEBBC8wLTArBggrBgEFBQcwAYYfaHR0cDovL29jc3AtcWEuaHViamVjdC5jb206ODA4MDAOBgNVHQ8BAf8EBAMCA+gwCgYIKoZIzj0EAwIDSAAwRQIhAPk8rji0H9sFcE/sCQsid18dRGV78vjAwkLVuPpPa/QBAiAyFzUS7SjsuFoARXuEi8HXfngnIUXfEngJ3/Q9c14UQw==" + "example": "MIIB+zCCAaGgAwIBAgIQayalVTpSmBQQpxCvOm/wVTAKBggqhkjOPQQDAjBDMQswCQYDVQQGEwJERTEVMBMGA1UEChMMSHViamVjdCBHbWJIMR0wGwYDVQQDExRNTyBTdWIyIENBIFFBIEcxLjIuMTAeF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