consumer-reports-innovation-lab / data-rights-protocol

The technical standard for exchanging data rights requests
https://datarightsprotocol.org
Apache License 2.0
56 stars 12 forks source link

the start of a openapi spec for PIPs #35

Closed rrix closed 2 years ago

rrix commented 2 years ago

go to https://petstore.swagger.io/ and replace the URL in the Explore box with: https://raw.githubusercontent.com/rrix/data-rights-protocol/main/openapi.yaml

This is the start of an openapi specification for the DRP protocol's PIP Interface. It's being provided here as step 1 in building out conformance testing for version 0.4 of the protocol, and will probably need to be kept in-sync with the existing markdown spec.

OpenAPI (F.K.A. swagger) is a machine-legible API specification standard that, in the simplest scenarios, can be used to test APIs in the Swagger web UI.

Further work:

Limitations:

rrix commented 2 years ago

There are schemaValidationMessages in the validator that I can't make heads or tails of right now. Maybe on Monday