Recently, I have been writing API documentation using oatpp swagger, but there have been some strange errors. After loading all the endpoints, I wrote router ->addController (oatpp:: swagger: AsyncController:: createShared (docEndpoints));, But at this point, it crashed directly without any error messages. I used gdb for debugging and found that the error occurred in oatpp swagger/Generator.cpp
This is the only error that can be queried, and when I delete router ->addController (oatpp:: swagger: AsyncController:: createShared (docEndpoints));, all code can run normally. I don't know where the problem occurred and I don't have any clue. Can you give me some help? Thank you!
Recently, I have been writing API documentation using oatpp swagger, but there have been some strange errors. After loading all the endpoints, I wrote
router ->addController (oatpp:: swagger: AsyncController:: createShared (docEndpoints));
, But at this point, it crashed directly without any error messages. I used gdb for debugging and found that the error occurred inoatpp swagger/Generator.cpp
This is the only error that can be queried, and when I delete
router ->addController (oatpp:: swagger: AsyncController:: createShared (docEndpoints));
, all code can run normally. I don't know where the problem occurred and I don't have any clue. Can you give me some help? Thank you!