open-rpc / spec

The OpenRPC specification
https://spec.open-rpc.org
Apache License 2.0
165 stars 49 forks source link

fix: add note about fallback examples #323

Closed shanejonas closed 3 years ago

shanejonas commented 3 years ago

I think this is kind of what https://github.com/open-rpc/spec/issues/315 was trying to say. But we should allow for using schema.examples as a fallback. I have a PR up for schema utils to support this in parseOpenRPCDocument: https://github.com/open-rpc/schema-utils-js/pull/486

BelfordZ commented 3 years ago

fixes: #337

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.