babelouest / ulfius

Web Framework to build REST APIs, Webservices or any HTTP endpoint in C language. Can stream large amount of data, integrate JSON data with Jansson, and create websocket services
https://babelouest.github.io/ulfius
GNU Lesser General Public License v2.1
1.07k stars 183 forks source link

How to add swagger openAPI documentation for ulfius based webservices ? #270

Open KarurNaveen opened 7 months ago

KarurNaveen commented 7 months ago

With the largest ecosystem of API tooling on the planet, thousands of developers are supporting Swagger in almost every modern programming language and deployment environment.

Please let me know , How to do that ?

babelouest commented 7 months ago

Hello @KarurNaveen ,

Ulfius isn't a REST API implementation but a framework to build webservices, including REST APIs, so I'm not sure I can answer your request.

You can check the API documentation and the example programs to see Ulfius' possibilities.

Does that answer your question?

babelouest commented 7 months ago

My bad, I misread your question in my answer below.

I don't know OpenAPI tools or editor myself, but I don't think specific tools for Ulfius exist, so I would say no, as far as I know.

KarurNaveen commented 7 months ago

Thanks for the response :)

https://editor.swagger.io/ I was talking about swagger , which provide the REST API documentation.