reactiverse / reactiverse/vertx-maven-plugin

Enhancement: Generate Stub Implementation From OpenAPI Spec

Open
#43 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Java
Stars
81
Forks
12
Avg merge
20h 19m
Merged PRs (30d)
9

Description

Use Case:

You have an OpenAPI v3 API specification and would like to generate a Vert.x application skeleton from that Spec.
Ideally, the maven target would read and parse the YAML Spec, generate Service Proxy stubs for each top-level endpoint and method implementations for each VERB endpoint.
Then, a MainVerticle would be created which sets up the ServiceBinder and binds the Service Proxy methods to the OpenAPI3Router endpoints.

Proposal:

Implement a new target openapi-generate which can read the YAML and use Velocity (or other) templates to create the stubbed skeleton.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Maven plugin's existing targets and the proposed openapi-generate target, then trace how the YAML OpenAPI v3 specification would feed the proposed Velocity templates. Done means generating a Vert.x application skeleton with Service Proxy stubs, VERB method implementations, a MainVerticle, and ServiceBinder bindings for OpenAPI3Router endpoints.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, openapi
Domain
api, build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.