tapir icon indicating copy to clipboard operation
tapir copied to clipboard

[Feature] More advanced OpenApi generator

Open borissmidt opened this issue 2 years ago • 0 comments

Describe the feature

I tend to use grpc api's quite often and this generates a very simple to use api. Where each RPC has 1 api call with 1 input object and 1 output object. But for REST there doesn't seem to be such an easy api implementation.

I tried the generator in this project but it feels a bit raw.

Additional information Before i discovered that you have an sbt OpenApi generator, i had spend some time on making an OpenApi generator and i got quite far. I'm using the annotation api

But i think it would be a much better idea to port this to the tapir repository so it becomes easier to maintain, because it isn't mustache, and keep up to date.

What do you think of the format of the API it produces? Would you be interested in a generator like this?

borissmidt avatar Jan 28 '22 16:01 borissmidt