-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat: Generate docs from JSON schema #50
Conversation
d02edf6
to
33799f8
Compare
This reverts commit 33799f8.
5561038
to
c1c6569
Compare
c3ae226
to
aa0ad21
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very cool, and I think we can merge this in as a starting point. Before we can use it though we'll need to incorporate descriptions for the fields as well. In this package it seems relatively straight-forward, we can use the description
field if set.
For generating the schemas from Go code though, maybe we can read the comments above each field using reflection, like we used to do in CQ v0 for generating table column descriptions.
7aa8816
to
0c06407
Compare
🤖 I have created a release *beep* *boop* --- ## [0.3.9](v0.3.8...v0.3.9) (2023-10-18) ### Features * Add options appicable to `jsonschema.Reflector` prior to generation ([#60](#60)) ([2cace1e](2cace1e)) * Generate docs from JSON schema ([#50](#50)) ([ce84add](ce84add)) ### Bug Fixes * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.13.0 ([#55](#55)) ([507131a](507131a)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.14.0 ([#57](#57)) ([31ade81](31ade81)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.14.1 ([#58](#58)) ([6002349](6002349)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.15.0 ([#59](#59)) ([2c6f5a8](2c6f5a8)) * **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.15.1 ([#61](#61)) ([dca6592](dca6592)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
No description provided.