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

example value documentation lifted from OpenAPI doesn't make sense in OpenRPC context. #390

Open
aatifsyed opened this issue Jun 28, 2024 · 0 comments

Comments

@aatifsyed
Copy link

spec/spec.md

Line 252 in 0e08a5c

<a name="example-value"></a>value | Any | Embedded literal example. The `value` field and `externalValue` field are mutually exclusive. To represent examples of media types that cannot naturally represented in JSON, use a string value to contain the example, escaping where necessary.

It's always going to be valid JSON.
Should also clarify that one of value or externalValue are required

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

No branches or pull requests

1 participant