dlang / project-ideas

Collection of impactful projects in the D ecosystem
36 stars 12 forks source link

Add D to OpenAPI client / server generator #75

Open andre2007 opened 3 years ago

andre2007 commented 3 years ago

Description

OpenAPI enables you to generate http client and/or http server coding based on an API specification. A lot of programming languages (see here https://github.com/OpenAPITools/openapi-generator/tree/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages) are supported except D. For example the automatically generated C client api for Kubenetes (using libcurl) https://github.com/kubernetes-client/c.

OpenAPI has a huge ecosystem: https://openapi.tools/

What are rough milestones of this project?

How does this project help the D community?

Developers do not need to write http client boiler code from hand but can just automatically create the needed code. (Generated Kubernetes C http client api is thousands of lines long).

If you want to create a vibe.d http server application you can create the coding from an API specification.

Recommended skills

Java, Mustache (https://mustache.github.io/), Curl, Vibe-d

What can students expect to get out of doing this project?

Rating

Easy - Medium

Project type

Core development

Points of Contact/Possible Mentors

@andre2007 @maxhaton @RazvanN7