From afd7ec4bda765d4b80cb5645e3bc8854cfc51f82 Mon Sep 17 00:00:00 2001 From: Andreas Huber <andreas.huber@fjd.de> Date: Mon, 8 Mar 2021 11:01:01 +0100 Subject: [PATCH] #45 Mime-Types --- docs/Detailinformationen/Release_Notes.md | 8 ++++++++ models/application/schema.json | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/Detailinformationen/Release_Notes.md b/docs/Detailinformationen/Release_Notes.md index a776bef7..2d4b2731 100644 --- a/docs/Detailinformationen/Release_Notes.md +++ b/docs/Detailinformationen/Release_Notes.md @@ -70,6 +70,14 @@ Die Pfade für den aktuellen Status und die Statushistorie sind jetzt: #### #35 Info/Test Resource hinzufügen Es wurde in beiden APIs eine Resource `/info` hinzugefügt, die aktuell die API-Version ausgibt. Dies kann genutzt werden, um die Grundsätzliche Erreichbarkeit der API zu testen und um sicherzustellen, dass eine kompatible Version der API verwendet wird. +#### #45 Mime-Types +Die Mime-Types in Application Schema wurden gemäß RFC abgebildet werden: +- `application/json` statt `json` +- `application/xml` statt `xml` + +#### #49 JSON Web Key Set durch JSON Web Key ersetzt +Die Destination enthält nun einen JWK statt einem JWK Set. + ## Version 0.6 diff --git a/models/application/schema.json b/models/application/schema.json index 6bc4ded3..0444183c 100644 --- a/models/application/schema.json +++ b/models/application/schema.json @@ -5,15 +5,15 @@ "additionalProperties": false, "x-examples": { "example-1": { - "mimeType": "json", + "mimeType": "application/json", "schemaSource": "none" }, "example-2": { - "mimeType": "xml", + "mimeType": "application/xml", "schemaSource": "none" }, "example-3": { - "mimeType": "xml", + "mimeType": "application/xml", "schemaSource": "fim", "schemaId": "S99000001V1.0" } @@ -34,8 +34,8 @@ "mimeType": { "type": "string", "enum": [ - "json", - "xml" + "application/json", + "application/xml" ], "description": "Gibt das zulässige Format (JSON oder XML) der Fachdaten an." }, -- GitLab