We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is a bit inconvenient to expose SMD schema only as an http endpoint.
For example, you might have other tools that work with SMD schema and you could not use them automatically with zenrpc without SMD schema in a file.
The text was updated successfully, but these errors were encountered:
Its can done manually ,I implemented a cli subcmd to generate the smd file manaually though cobra for ci usage
rpc := zenrpc.NewServer(zenrpc.Options{ExposeSMD: true}) rpc.Register("user", UserService{}) rpc.Register("data", DataService{}) data, err := json.MarshalIndent(rpcServer.SMD(), "", "\t") if err != nil { panic(err) return } err = ioutil.WriteFile("smd.json", data, 0644) if err != nil { panic(err) return }
Sorry, something went wrong.
No branches or pull requests
It is a bit inconvenient to expose SMD schema only as an http endpoint.
For example, you might have other tools that work with SMD schema and you could not use them automatically with zenrpc without SMD schema in a file.
The text was updated successfully, but these errors were encountered: