From 3824a9e88ecef7279bafd6dc02631b9f00d1bced Mon Sep 17 00:00:00 2001 From: pvdb Date: Wed, 20 Sep 2023 16:23:40 +0200 Subject: [PATCH 1/3] Update to RFC 9457, which obsoletes RFC 7807 --- src/main/openapi/problem/v1/problem-v1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/openapi/problem/v1/problem-v1.yaml b/src/main/openapi/problem/v1/problem-v1.yaml index e14d2f4..a29dc6d 100644 --- a/src/main/openapi/problem/v1/problem-v1.yaml +++ b/src/main/openapi/problem/v1/problem-v1.yaml @@ -23,7 +23,7 @@ components: description: A problem caused by invalid input schemas: Problem: - description: A Problem Details object (RFC 7807) + description: A Problem Details object (RFC 9457) type: object properties: type: From 35483ffbac6bb77993229bedeeb057080b7bc5ac Mon Sep 17 00:00:00 2001 From: pvdb Date: Thu, 5 Oct 2023 14:34:16 +0200 Subject: [PATCH 2/3] Update to RFC 9457, which obsoletes RFC 7807 --- src/main/swagger/problem/v1/problem-v1.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/swagger/problem/v1/problem-v1.yaml b/src/main/swagger/problem/v1/problem-v1.yaml index 33aac0f..c84e834 100644 --- a/src/main/swagger/problem/v1/problem-v1.yaml +++ b/src/main/swagger/problem/v1/problem-v1.yaml @@ -17,7 +17,7 @@ responses: $ref: "#/definitions/InputValidationProblem" definitions: Problem: - description: A Problem Details object (RFC 7807) + description: A Problem Details object (RFC 9457) type: object properties: type: From 19590e9c8e424d1144743c7430850a468785004f Mon Sep 17 00:00:00 2001 From: pvdb Date: Thu, 5 Oct 2023 14:44:40 +0200 Subject: [PATCH 3/3] update readme and pom --- README.md | 2 +- pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 606ea90..64f5705 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # openapi-problem -This repository contains OpenAPI data types for problem messages, compliant to [RFC 7807 - Problem Details for HTTP APIs](https://tools.ietf.org/html/rfc7807). +This repository contains OpenAPI data types for problem messages, compliant to [RFC 9457 - Problem Details for HTTP APIs](https://www.rfc-editor.org/rfc/rfc9457) (which obsoletes RFC 7807). Their proper use is documented in the [REST guide](https://www.gcloud.belgium.be/rest/#error-handling). Within a major version, types remain backwards compatible once they are released. diff --git a/pom.xml b/pom.xml index c04e1fb..e15a3f3 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ pom ${project.groupId}:${project.artifactId} - OpenAPI data types for problem messages, compliant to RFC 7807 + OpenAPI data types for problem messages, compliant to RFC 9457 https://github.com/belgif/openapi-problem