Git Product home page Git Product logo

Comments (4)

steffendx avatar steffendx commented on June 1, 2024

The problem seems like the docker-compose up is not generating the documentation xml file (or the path to it is different).
It should work if you run GoNorth from the command line using dotnet run.

But since you are mainly interested in the swagger file, I have simply attached the file to this response:
gonorth_swagger.txt
You will have to rename this file back to .json since json files are not allowed to be attached to task, apparently.
You should then be able to simple import this file to the Swagger UI

Does that work?

from gonorth.

johnbeech avatar johnbeech commented on June 1, 2024

This has been some spaghetti... so... I've managed to load gonorth_swagger.json into Swagger UI Dist, which involved a bunch of string and tape...

image

But when I call one of the commands, e.g. /api/KirjaApi/SearchPages

image

image

For the record, I'm proxying http://localhost:7200/api/ to http://localhost:5000/ - where GoNorth is running in Docker.

I think this would be much cleaner if I could get it running and hosted correctly via Docker. Basically I feel like all my data is stuck inside the GoNorth instance at the moment and is quite difficult to get at.

from gonorth.

johnbeech avatar johnbeech commented on June 1, 2024

Stored my reference code a gist:

from gonorth.

steffendx avatar steffendx commented on June 1, 2024

Thanks for providing a gist! I'll check it out soon. It might be a login issue, but then you should get a 401 and not a 500. I'll report back as soon as I know more.

In the meantime: If accessing the webservices are too complicated (I did not really worked on them being easily accessible for a third party application) and you mainly want to extract data, you might simply access the MongoDB?
Its a fairly easy data structure and you will get almost the same results from access the MongoDB then access the Rest API.

from gonorth.

Related Issues (20)

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.