Skip to content

Conversation

msporny
Copy link
Contributor

@msporny msporny commented Sep 20, 2021

This PR adds an ability to ReSpec to generate sections of the specification directly from the OAS files. This ensures that the root of truth continues to be the OAS files, but that those are also translated into human-readable normative ReSpec descriptions.

This is the first iteration of this experimental feature. There is still a lot of formatting that needs to be done with the JSON Schema sections to ReSpec text, but that is fairly straight-forward to do and will just take a bit of time to get formatted into the shape that we want.

You can preview what all of this looks like here: https://pr-preview.s3.amazonaws.com/w3c-ccg/vc-http-api/pull/233.html#the-vc-http-api


Preview | Diff

Copy link
Contributor

@OR13 OR13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very cool, and very useful.

We've been doing something very similar in https://github.com/w3c-ccg/traceability-vocab, and recently resolved to update to using OAS instead of JSON Schema, because we wanted to avoid potential issues.... this is another good reason for that switch.

@OR13
Copy link
Contributor

OR13 commented Sep 28, 2021

open for 9 days without objection, merging.

@OR13 OR13 merged commit 7a76e82 into main Sep 28, 2021
@msporny msporny deleted the msporny-oas-respec branch June 22, 2025 14:26
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

Successfully merging this pull request may close these issues.

3 participants