APIDevTools / swagger-cli

Swagger 2.0 and OpenAPI 3.0 command-line tool
https://apitools.dev/swagger-cli
MIT License
515 stars 69 forks source link

How to bundle OAS documentation from multiple Java projects? #52

Open Ruudiiii opened 4 years ago

Ruudiiii commented 4 years ago

Hi, I have two java projects. One where I define my data transfer object (DTO class), let us call this project solver. And another java project, let us call this solver service, where I define my endpoints and so on. I do contract first and generate code based on documentation, so I guess I have to write documentation for payload (DTO) in solver project and documentation for endpoints in solver service project. But how do I bundle these two files into one OAS documentation?