oatpp / example-crud

A complete example of a "CRUD" service (UserService) built with Oat++.
https://oatpp.io/
Apache License 2.0
100 stars 63 forks source link

Question: example on how to generate <my_spec_file>.yaml from server endpoint definitions #30

Closed Saadharta closed 1 year ago

Saadharta commented 1 year ago

Good day;

Could it be possible to showcase the usage of [generator] (https://oatpp.io/api/latest/oatpp-swagger/Generator/) in this (or any) example?

I am currently testing on a trial-and-error basis to figure out how to generate an OpenAPI spec file from my server's endpoints definitions (and have it stored in the same folder as my executable and ready to be fed to an OpenAPI generator template to generate a client API)

At least, is such a thing possible?

Any feedback/acknowledge is welcome :)

Kind regards,

Saadharta