Skip to content

Commit a6c6a6a

Browse files
committed
Update documentation to note the new RFC.
1 parent 591f3cc commit a6c6a6a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
[![Build Status](https://travis-ci.org/Crell/ApiProblem.svg?branch=master)](https://travis-ci.org/Crell/ApiProblem)
44

5-
This library provides a simple and straightforward implementation of the IETF Problem Details for HTTP APIs, [RFC 7807][1].
5+
This library provides a simple and straightforward implementation of the IETF Problem Details for HTTP APIs, [RFC 9457][1].
66

7-
[RFC 7807][1] is a simple specification for formatting error responses from RESTful APIs on the web. This library provides a simple and convenient way to interact with that specification. It supports generating and parsing [RFC 7807][1] messages, in both JSON and XML variants.
7+
[RFC 9457][1] is a simple specification for formatting error responses from RESTful APIs on the web. This library provides a simple and convenient way to interact with that specification. It supports generating and parsing [RFC 9457][1] messages, in both JSON and XML variants.
88

99
## Generating responses
1010

@@ -102,7 +102,7 @@ This library is released under the MIT license. In short, "leave the copyright
102102

103103
Pull requests accepted! The goal is complete conformance with the IETF spec.
104104

105-
[1]: https://tools.ietf.org/html/rfc7807
105+
[1]: https://tools.ietf.org/html/rfc9457
106106
[2]: http://getcomposer.org/
107107
[3]: https://www.php-fig.org/psr/psr-7/
108108
[4]: https://www.php-fig.org/psr/psr-17/

src/ApiProblem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* An API error of some form.
99
*
10-
* This object generates errors in compliance with RFC 7807 "API Problem".
10+
* This object generates errors in compliance with RFC 9457 "API Problem".
1111
*
1212
* This object should be configured via the appropriate methods, and then
1313
* rendered using the asJson() or asXml() methods. The resulting string is
@@ -22,7 +22,7 @@
2222
* to get/set those values. For extended values, use the ArrayAccess interface
2323
* to specify arbitrary additional properties.
2424
*
25-
* @link http://tools.ietf.org/html/rfc7807
25+
* @link http://tools.ietf.org/html/rfc9457
2626
*
2727
* @author Larry Garfield
2828
*

0 commit comments

Comments
 (0)