diff --git a/README.md b/README.md index 96ce7da..e36af50 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,8 @@ go run main.go curl -X POST "http://localhost:3000/v1/validate" --data-binary "@./publiccode.yml" ``` -The endpoint also accepts the `QUERY` method: +The endpoint also accepts the `QUERY` method +([RFC 10008](https://www.rfc-editor.org/rfc/rfc10008.html)): ```console curl -X QUERY "http://localhost:3000/v1/validate" \ diff --git a/publiccode-validator-api.oas.yaml b/publiccode-validator-api.oas.yaml index 888c077..43b5d4d 100644 --- a/publiccode-validator-api.oas.yaml +++ b/publiccode-validator-api.oas.yaml @@ -8,8 +8,9 @@ info: The `/validate` endpoint accepts both `POST` and the `QUERY` - HTTP method (RFC 9110) with a publiccode.yml body and returns - validation results plus a normalized version of the file. + HTTP method ([RFC 10008](https://www.rfc-editor.org/rfc/rfc10008.html)) + with a publiccode.yml body and returns validation results plus a + normalized version of the file. license: name: AGPL-3.0 identifier: AGPL-3.0-only