OpenAPITools / OpenAPITools/openapi-generator
[REQ] Generate @OpenAPIDefinition with openapi-generator-maven-plugin
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Today I am able to generate interface and models with the help of openapi-generator-maven-plugin. However I am not aware how to generate the info and security part which ideally can be written with @OpenApiDefinition
openapi: 3.0.0
info:
version: 1.0.0
title: Sample API
description: A sample API to illustrate OpenAPI concepts
Describe alternatives you've considered
I checked issue: https://github.com/OpenAPITools/openapi-generator/issues/12220 but not sure if it is the same problem's solution.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the openapi-generator-maven-plugin behavior described in this issue and compare it with issue 12220. Determine the intended generation path for the OpenAPI info and security sections represented by @OpenAPIDefinition; done means a documented, tested way to generate those sections.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100