Crow icon indicating copy to clipboard operation
Crow copied to clipboard

How to implement the Open API server generation feature?

Open Rz-Rz opened this issue 1 year ago • 3 comments

I would like to see if it is possible to build a feature when a crow server can be generated from OpenAPI server generation feature. And also generate a yaml Open API description of the APIs of a crow webserver.

Rz-Rz avatar Oct 08 '24 11:10 Rz-Rz

Currently you can't generate a crow application from an openapi specification. It is possible to write an API-Specification which fits to an existing Application.

gittiver avatar Oct 08 '24 15:10 gittiver

I imagine creating a tool that does both of these things is relatively straightforward, at least generating a yaml file from Crow's routes. @Rz-Rz if you're interested in creating such a tool, please don't hesitate to ask for help!

The-EDev avatar Oct 25 '24 20:10 The-EDev

I would love to understand how that works, and also so it can works both ways with the yaml file for the route, which might be relatively easy, and the server generation features aswell. I would love to implement them in this project. I am wondering if I should work on this repo : https://github.com/OpenAPITools/openapi-generator

Currently reading this : https://openapi-generator.tech/

Rz-Rz avatar Nov 13 '24 09:11 Rz-Rz