Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add D to OpenAPI client / server generator #75

Open
andre2007 opened this issue Nov 22, 2020 · 0 comments
Open

Add D to OpenAPI client / server generator #75

andre2007 opened this issue Nov 22, 2020 · 0 comments
Labels
core development phobos projects related to phobos

Comments

@andre2007
Copy link

andre2007 commented Nov 22, 2020

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?

  • Add http client generator for D and std.curl
  • Add http client generator for D and vibe.d http client
  • Add http server generator for D and vibe.d http server

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?

  • HTTP Client & server programming

Rating

Easy - Medium

Project type

Core development

Points of Contact/Possible Mentors

@andre2007 @maxhaton @RazvanN7

@andre2007 andre2007 changed the title GSOC: Add D to OpenAPI client / server generator gsoc2020: Add D to OpenAPI client / server generator Nov 22, 2020
@andre2007 andre2007 changed the title gsoc2020: Add D to OpenAPI client / server generator Add D to OpenAPI client / server generator Nov 23, 2020
@RazvanN7 RazvanN7 added core infrastructure phobos projects related to phobos and removed core infrastructure labels Feb 3, 2021
@RazvanN7 RazvanN7 removed the gsoc2021 label Jul 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core development phobos projects related to phobos
Projects
None yet
Development

No branches or pull requests

3 participants