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

Generate JSON schema into a single file #20

Open
ash2k opened this issue Jul 30, 2024 · 2 comments
Open

Generate JSON schema into a single file #20

ash2k opened this issue Jul 30, 2024 · 2 comments

Comments

@ash2k
Copy link

ash2k commented Jul 30, 2024

Hi! I'm currently using https://github.com/chrusty/protoc-gen-jsonschema and want to migrate to this plugin instead. I host the generated schema in my own repository and refer to it from https://github.com/SchemaStore/schemastore. My understanding is that if I switch to this plugin, I'll not be able to refer to the schema in my repo anymore (see this).

Would it be possible to add support for putting the generated schema into a single file? As part of this, I suppose the user should be able to chose for which messages the schema is generated (with all the dependent messages pulled in).

@aaomidi
Copy link

aaomidi commented Jul 30, 2024

I'm also interested in this option

@javirln
Copy link

javirln commented Sep 13, 2024

Any hint on this? Thanks!

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

3 participants