Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using example.externalValue throws validation error #350

Closed
sandreae opened this issue Aug 10, 2021 · 3 comments
Closed

Using example.externalValue throws validation error #350

sandreae opened this issue Aug 10, 2021 · 3 comments
Labels

Comments

@sandreae
Copy link

sandreae commented Aug 10, 2021

In the openRPC specs externalValue is given as a valid field in the Example Object but I get validation errors when using it in a spec with mock-server and i see it isn't defined in the meta-schema here.

Error validating OpenRPC Document against @open-rpc/meta-schema.
The errors found are as follows:
[
  {
    "keyword": "required",
    "dataPath": ".components.examples['FirstEntryEncoded']",
    "schemaPath": "#/required",
    "params": {
      "missingProperty": "value"
    },
    "message": "should have required property 'value'"
  }
]
Please revise the validation errors above and try again.

If it isn't a valid field then the specs just need updating. It would be really handy to have for my use case though if it's in the pipeline.

Thanks for your work!

@github-actions
Copy link

Welcome to OpenRPC! Thank you for taking the time to create an issue. Please review the guidelines

@sandreae sandreae changed the title Is example.externalValue deprecated? Using example.externalValue throws validation error Aug 10, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

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.

@BelfordZ
Copy link
Member

BelfordZ commented Jul 5, 2022

Made an issue on meta-schema for this. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants