openapi-processor / openapi-processor-spring

an OpenAPI 3.0 & 3.1 interface & model java code generator for Spring Boot
https://docs.openapiprocessor.io
Apache License 2.0
40 stars 9 forks source link

How to genearte code with multiple OAS yaml files? #284

Closed RobinQu closed 2 months ago

RobinQu commented 2 months ago

It seems all examples are working with only one OAS yaml file.

hauner commented 2 months ago

you are looking for something like this?

https://github.com/openapi-processor/openapi-processor-gradle/releases/tag/v2022.1

RobinQu commented 2 months ago

you are looking for something like this?

https://github.com/openapi-processor/openapi-processor-gradle/releases/tag/v2022.1

Yes.

But does maven plugin has same capability?

hauner commented 2 months ago

Yes, this also works with the maven plugin. Here is an example:

https://github.com/openapi-processor/openapi-processor-samples/blob/master/samples/spring-multiple-apis/pom.xml

RobinQu commented 2 months ago

Oh, I see. Thanks for your help.