Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    klokane
    @klokane
    thx
    Jeffrey Hann
    @obihann
    it works!!! :thumbsup:
    gonna rebase master to my branch and then I should be back in business
    Jeffrey Hann
    @obihann
    well my branch is still not working however thats on my end so if necessary I'll just create a new branch / fork
    klokane
    @klokane
    thanks for check
    Jeffrey Hann
    @obihann
    Does this look familiar to you?
    /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./build V=1 libdrafter
    make[1]: Nothing to be done for `libdrafter'.
    /Applications/Xcode.app/Contents/Developer/usr/bin/make -C ./build V=1 test-libdrafter
      c++ '-DBUILDING_SNOWCRASH=1' '-D_DARWIN_USE_64_BIT_INODE=1' -I../src -I../test -I../test/vendor/Catch/include -I../test/vendor/dtl/dtl -I../ext/snowcrash/src -I../ext/snowcrash/ext/markdown-parser/src -I../ext/snowcrash/ext/markdown-parser/ext/sundown/src -I../ext/sos/src  -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -fno-threadsafe-statics -fno-strict-aliasing -MMD -MF out/Release/.deps/out/Release/obj.target/test-libdrafter/test/test-drafter.o.d.raw  -c -o out/Release/obj.target/test-libdrafter/test/test-drafter.o ../test/test-drafter.cc
    In file included from ../test/test-drafter.cc:10:
    ../test/draftertest.h:5:10: fatal error: 'dtl.hpp' file not found
    #include "dtl.hpp"
    klokane
    @klokane
    you need tu checkout submodules
    there is new one it makes "diffing" on test output
    Jeffrey Hann
    @obihann
    thanks
    Jeffrey Hann
    @obihann
    sigh, I can build from make, and make test passes on my branch, and my fork of master, but xcode, not so much :thumbsdown:
    klokane
    @klokane
    what does it mean exactly? :)
    Jeffrey Hann
    @obihann
    ld: warning: directory not found for option '-L/Users/jhann/Library/Developer/Xcode/DerivedData/drafter-gsbusumgxawcfndzeqzwyaefkhkh/Build/Products/Debug'
    Undefined symbols for architecture x86_64:
      "drafter::SourceMapToRefract(mdp::RangeSet<mdp::Range> const&)", referenced from:
          void drafter::AttachSourceMap<drafter::NodeInfo<bool> >(refract::IElement*, drafter::NodeInfo<bool> const&) in liblibdrafter.a(RefractDataStructure.o)
          void drafter::AttachSourceMap<drafter::NodeInfo<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(refract::IElement*, drafter::NodeInfo<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) in liblibdrafter.a(RefractDataStructure.o)
          void drafter::AttachSourceMap<drafter::NodeInfo<double> >(refract::IElement*, drafter::NodeInfo<double> const&) in liblibdrafter.a(RefractDataStructure.o)
          void drafter::AttachSourceMap<drafter::NodeInfo<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >(refract::IElement*, drafter::NodeInfo<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in liblibdrafter.a(RefractAPI.o)
          void drafter::AttachSourceMap<drafter::NodeInfo<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >(refract::IElement*, drafter::NodeInfo<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > const&) in liblibdrafter.a(RefractAPI.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    But that only occurs in xcode, from command line using make, its great
    klokane
    @klokane
    It seems there is missing file src/RefractSourceMap.cc in Xcode project file
    But do not know how to do it, maybe @pksunkara can help
    Jeffrey Hann
    @obihann
    ahh, thats it
    Pavan Kumar Sunkara
    @pksunkara
    @obihann I said the same thing yesterday to you in this same channel. I also told that I have a fix on the way.
    Jeffrey Hann
    @obihann
    I'm aware of that thank you, but I had to get things up and running asap.
    Sean
    @swreeser
    hey there new to apib how's everybody doing?
    Z
    @zdne
    Hey @swreeser welcome to API Blueprint! What is up? Let us know should you have any questions or comments!
    Z
    @zdne
    /all We are abandoning Gitter in the favor of Slack for the realtime API Blueprint communication. Please visit http://apiblueprint-slack.herokuapp.com/ to sign up. I would like to thank you being awesome part of API Blueprint community and I am looking forward to seeing you again at the API Blueprint Slack #blueprint channel! Thanks!
    Jeffrey Hann
    @obihann
    Great news!
    Serhii Chaplia
    @iwex
    Hello
    Is there someone alive?
    klokane
    @klokane
    @iwex discussion moved to slack see message above
    Serhii Chaplia
    @iwex
    @klokane thanks
    tpodolak
    @tpodolak
    hi guys, do you know any tools to convert Json Schema to MSON ?
    Karega McCoy
    @karega
    Hello
    I'm having a rough time with Apiary
    I want to use it as my REST API because I have such a simple API
    Nikita
    @RedDevilHat
    Hello
    how i can do that?
           let data = new FormData;
    
            data.set('file', this.state.file);
            data.set('company_id', this.state.company_id);
            data.set('complience', JSON.stringify({
                    "product_name": this.state.name,
                    "unit_of_measure": this.state.unit,
                    "price_without_nds": this.state.none_nds,
                    "brand": this.state.brand
                }
            ));
    how i can rewrite tjis to blueprint?
    now i do that
    + Request (multipart/form-data; boundary=---BOUNDARY)
        + Headers
            Authorization: Bearer token_string
        + Body
    
                {
                    "company_id": 2,
                    "complience" : {
                    "product_name": 1,
                    "unit_of_measure": 2,
                    "brand": 3,
                    "price_without_nds": 4
                    }
                }
    
                    -----BOUNDARY
            Content-Disposition: form-data; name="excel[file]"; filename="price.xls"
            Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
            Content-Transfer-Encoding: base64
    
            /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0a
            HBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIy
            MjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAABAAEDASIA
            AhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEB
            AAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AL+AD//Z
              -----BOUNDARY
    but dont like this
    and i dont know how do this attribut
    + Attributes (object)
        + company_id: 10056 (required, number) - description
        + file: file.txt(required,file) - description
        + complience: (required, array) [
            +product_name: 1 (required, number) - description
            +unit_of_measure: 2 (optional, number) - description
            +brand: 3 (optional, number) - description
            +price_without_nds: 4 (optional, number) - description
    
        ]- description
    Jatto Abdulqahhar
    @jattoabdul
    hello
    Justin Quick
    @justquick
    This project rocks
    oztaa
    @oztaa
    test
    anybody here?
    Alex Semyonov
    @alsemyonov
    🧟‍♂️🧟‍♀️
    Michal Tuček
    @lumitron

    Hi, I just can't find it anywhere so maybe someone here could help me.

    I have API like this

    {
    "id": 1,
    "author": {
    "id": 1,
    "first_name": "Michal",
    "last_name": "Tuček",
    },
    "title": "First Post",
    "content": "<p>This is the very first post!</p><p>Isn't it awesome?!</p>",
    "categories": [
    {
    "id": 1,
    "name": "Everyday life"
    },
    {
    "id": 2,
    "name": "Programming"
    },
    ]
    }

    but the part with HTML inside string is wrong... Is there some way to escape HTML content like this?

    Should I use < and > instead?
    & l t ; and & g t ;
    Michal Tuček
    @lumitron
    Yeah.... that is probably the solution :D
    Jean Jordaan
    @jean
    can one go from MSON to JSON Schema?