fix: wip first pass at updating to new schema.json to markdown rendering#410
Open
zcstarr wants to merge 15 commits intoopen-rpc:masterfrom
Open
fix: wip first pass at updating to new schema.json to markdown rendering#410zcstarr wants to merge 15 commits intoopen-rpc:masterfrom
zcstarr wants to merge 15 commits intoopen-rpc:masterfrom
Conversation
This change was made to make it easier to track and keep changes to the actual specification formally in meta-schema in sync with the rest of the ecosystem and give it a specific version. The version is still semver, but the compatibility aspect of a version is restricted to major.minor, which parallels open-api and makes maintaining our tooling easier, because the underlying schema for OpenRPC is now pegged to a strict version. We have legacy folder here to maintain the past enum, which made it possible to kind of loosely declare any of the specs from 1.3.2- 1.0.0 compatible, which isn't strictly the case. The specs will not add breaking changes but do impact consumption and the specs are not all equivalent. This change makes it so 1.3.x , 1.4.x, major.minor specs have a strict compatibility. This change will also allow consumers to be able to explicitly support versions going forward. If consumers make no change then all legacy versions will be supported by virtue of the original specification using an enum that was autogenerated. The new open-rpc: field uses a regex which is more strict This won't be a breaking change but will have future implications as the spec expands
…ckaging the schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.