oatpp.io public website
oatpp / website Goto Github PK
View Code? Open in Web Editor NEWoatpp.io public website
Home Page: https://oatpp.io/
License: Apache License 2.0
oatpp.io public website
Home Page: https://oatpp.io/
License: Apache License 2.0
oatpp.io public website
https://oatpp.io/docs/components/api-controller/#path-variables-mapping
The following does not compile
ENDPOINT("GET", "/users/{userId}", getUserById,
PATH(Int64, userId))
{
OATPP_LOGD("Test", "userId=%d", userId->getValue());
return createResponse(Status::CODE_200, "OK");
}
Produces error:
error: request for member ‘getValue’ in ‘*(& userId)->oatpp::data::mapping::type::Primitive<long int, oatpp::data::mapping::type::__class::Int64>::<anonymous>.oatpp::data::mapping::type::ObjectWrapper<long int, oatpp::data::mapping::type::__class::Int64>::operator->()’, which is of non-class type ‘long int’ 61 | OATPP_LOGD("Test", "userId=%d", userId->getValue());
If the userId
pointer is dereferenced it works
ENDPOINT("GET", "/users/{userId}",
PATH(Int64, userId))
{
OATPP_LOGD("Test", "userId=%d", *userId);
return createResponse(Status::CODE_200, "OK");
}
Hello, oatpp team.
Recently, I tried to build the oatpp website. The following commands are what I used:
git clone --depth=1 https://github.com/oatpp/website.git
cd website
cd server
sudo sh prepare.sh
However, it ended up with some error messages:
log-failed-to-prepare-oatpp-webiste.txt
Is my process correct? What do I miss?
Most times that I access the oatpp website, I'm met with an empty response (screenshot attached). This makes it difficult when trying to access the docs as users have to keep refreshing their web page until it works. When developing using the Oatpp library, having consistently available docs is important. My gut feel is that it's a hosting issue not being able to keep up with demand.
Hi there,
I really like your documentation and wanted to compile it from the git repository.
I ran following commands:
Error: Cannot find module '../api/latest/index.json'
Can you please tell me, what I am missing or did wrong?
Thank you very much in advance.
Greetings, Thomas
there is no ChunkedBuffer.hpp/ChunkedBuffer.cpp in oatpp-1.3.0, cause to compile errors.
Remove recommendations to manually modify generated Visual Studio projects.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.