Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand Down
5 changes: 3 additions & 2 deletions publiccode-validator-api.oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading