Describe the issue
When trying to generate openAPI spec for a java Spring application using atom and atom-tools,
the endpoints in generated spec are missing the @RequestMapping prefix path
eg.
@RestController
@RequestMapping("/user")
public class UserController {
@Autowired
private TransactionService transactionService;
@Autowired
private BalanceService balanceService;
@Autowired
private MailService mailService;
@Autowired
private UserService userService;
@Autowired
PasswordEncoder passwordEncoded;
@GetMapping("/balance/{accountNo}")
Here the generated openAPI spec has endpoint /balance/{accountNo}
whereas the actual endpoint should be /user/balance/{accountNo}
Describe the issue
When trying to generate openAPI spec for a java Spring application using atom and atom-tools,
the endpoints in generated spec are missing the
@RequestMappingprefix patheg.
Here the generated openAPI spec has endpoint
/balance/{accountNo}whereas the actual endpoint should be
/user/balance/{accountNo}