sudorandom / fauxrpc

Easily start a fake gRPC/gRPC-Web/Connect/REST server from protobufs
https://fauxrpc.com
MIT License
75 stars 0 forks source link

Add CLI command to generate fake data for a given type #8

Closed sudorandom closed 1 month ago

sudorandom commented 2 months ago
# format defaults to JSON
fauxrpc generate --schema=./proto/ --target=connectrpc.eliza.v1.SayRequest
fauxrpc generate --schema=./proto/ --target=connectrpc.eliza.v1.IntroduceResponse --format=proto

Formats:

These are extra credit:

sudorandom commented 1 month ago

This now exists, I stopped with the formats: JSON/Proto/gRPC