on-internet
← Community

How to generate FeignClient interfaces and Lombok-annotated models using OpenAPI Generator?

Stack Overflow ·

I am using openapi-generator-maven-plugin to generate Feign clients and models from an OpenAPI spec. Example OpenAPI file: openapi: 3.0.1 info: title: ReviewApis version: 1.0.0 paths: /create-new-review: post: summary: Create a new review operationId: createNewReview ... components: schemas: Review: type: object required: [title, content, score, bookId] properties: id: type: string format: uuid Maven plugin config: <plugin> <groupId>org.openapitools</groupId> <artifactId>openapi-generator-maven-plugin</artifactId> <version>7.3.0</version> <executions> <execution> <id>generate-review-service-fe

Comments

Sign in or sign up to comment and upvote.

No comments yet.