Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

[QUESTION] output options #177

Open
ghstahl opened this issue Dec 23, 2023 · 0 comments
Open

[QUESTION] output options #177

ghstahl opened this issue Dec 23, 2023 · 0 comments

Comments

@ghstahl
Copy link

ghstahl commented Dec 23, 2023

I couldn't find documentation on these and am hoping that they are on a roadmap.

Maybe they are already feature requests?

I would like to have similar options as found in other generators.

--go-grpc_opt paths=source_relative

i.e.

--jsonschema_opt paths=source_relative 

In this case the files are written in the same location as the proto file.

I would like to see language support where a jsonschema is put into a file as a const string.

i.e. golang


const (
	jsonSchema_MyMessageName = `the schema for MyMessageName`
	jsonSchema_MyMessageName2 = `the schema for MyMessageName2`
)

Dynamically generate schema.

Is there a library that given a proto message that uses these options to generate a schema on the fly. In this case the protoc generator wouldn't be used, but all the options would be.

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

No branches or pull requests

1 participant