OpenAPITools / OpenAPITools/openapi-generator

[REQ] Support OpenApi 3 annotations in spring generator

Open
#5,803 2 comments 30 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Enhancement: Feature Server: Spring
Dominant language
Java
Stars
26.8k
Forks
7.7k
PR merge metrics
PR metrics pending

Description

Right now it seems that the spring generator only supports springfox 2.9.2 annotations: considering that OpenApi v3.0 is around by quite a while and that we are using it in our project it could make sense to at least provide a configuration using springdoc-openapi
.

Contributor guide

Open the contributing guide

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 at the Spring generator entry point and trace how its existing springfox 2.9.2 annotations are selected and emitted. Define the configuration needed for springdoc-openapi support and verify generated output against the stated OpenAPI v3 requirement; the issue names no tests or files, so the acceptance boundary needs clarification.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, openapi, spring
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.