Skip to content
Advertisement

Tag: contract-first

Swagger Codegen basePath is being ignored

I’m trying to generate some web services definitions using Swagger Codegen ยป 2.2.1 All configs are working and the classes are generate correctly by my .yaml definitions. Why the property basePath is being ignored? My @RestController generate using only paths definition: Expected (using basePath and paths definitions): What am I doing wrong? Did I forget something? My .yaml contract: Answer

Advertisement