Open daidoji opened 3 years ago
The repo has been moved to: https://github.com/w3c-ccg/vc-api/
The latest schema: vc-api-2023-05-28-22-47.zip
Been able to reproduce the error in #363, next will try to dig deeper and decide whether it is possible to properly support oneOf
schema definitions with ancient openapi-core
version that been used by rororo
or is it needed to update to latest openapi-core
.
Maybe related: #149
@daidoji
I am able to reproduce error and "cover" it with test case in #363, but cannot fix it with currently supported version of openapi-core>=0.13.4,<0.13.7
. However, as latest openapi-core
version is 0.17.1
, I hope the error will gone after #149 will be implemented.
Hope next update on a topic will be available soon.
There seem to be quite a few errors so I won't go into much detail. However, I noticed that if I take the schema above and the example json (copy pasted from
/credentials/issue
endpoint in that url) using the curl command I get the following error.However, you'll see in the yaml that body/credential/issuer can be:
So I should be able to pass an json
object
of typeobject
with a property ofid
or astring
directly. This seems like a bug in rororo because if I remove theoneOf
section and chance thetype
of theIssuer
spec tostring
directly then the curl command works.