Closed bamkrs closed 5 years ago
As suggested in #11 Use
/** * Swagger-Ui Resources (<oatpp-examples>/lib/oatpp-swagger/res) */ OATPP_CREATE_COMPONENT(std::shared_ptr<oatpp::swagger::Resources>, swaggerResources)([] { // Make sure to specify correct full path to oatpp-swagger/res folder !!! return oatpp::swagger::Resources::streamResources(OATPP_SWAGGER_RES_PATH); }());
Instead of oatpp::swagger::Resources::loadRessources(OATPP_SWAGGER_RES_PATH);
oatpp::swagger::Resources::loadRessources(OATPP_SWAGGER_RES_PATH);
Merged!
As suggested in #11 Use
Instead of
oatpp::swagger::Resources::loadRessources(OATPP_SWAGGER_RES_PATH);