Git Product home page Git Product logo

website's Introduction

website's People

Contributors

bamkrs avatar bnlambert avatar bradswain avatar jeevank avatar jeftah avatar jstatnekov avatar kushnertodd avatar lexmark-chad avatar lganzzzo avatar marct0k avatar mhaselmaier avatar pinginfo avatar provslavaboichenko avatar sholmp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

Misleading documentation regarding path variable mapping

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");
}

How to build the oatpp website?

Problem Description

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?

Version and Platform

  • OS version: Kubuntu 22.04
  • Current Commit: b4523d0

Ensure oatpp.io is consistently available

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.

oatpp_down

Vuepress build error: Missing module '../api/latest/index.json'

Hi there,
I really like your documentation and wanted to compile it from the git repository.
I ran following commands:

  • npm install (no error)
  • npm run docs:build (error)
    It seems to miss following module:
    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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.