Giter VIP home page Giter VIP logo

Comments (3)

zxchris avatar zxchris commented on May 18, 2024

Hi Bojan

You cannot currently do this - DapperDox parses the specifications and builds all the pages (and the URLs for them) in memory. It would be possible to do this in the future, but it is a lot of work behind the scenes. Interestingly, this also raises the question as how best to do this with remote specifications (-spec-filename=http://.....)

It's definitely a useful feature for developers, but probably isn't something you'd want to run in production (watching directories for example....)

It would be desirable to make the refresh happen without a service blip.

I'm going to mark this as a feature request!

from dapperdox.

nikolic-bojan avatar nikolic-bojan commented on May 18, 2024

Thank you for fast reply.
It is good to know what is possible for now.
I agree it is best if all is generated/cached on start, but would be great to have at least some mechanism that can be triggered from "outside" for restarting the server or invalidating cache, for deployment purposes.
If I go on Go side in next few weeks/months I would like to help with this.

Best regards!

from dapperdox.

danbars avatar danbars commented on May 18, 2024

+1 for this feature request.
Our use case is build process of many different projects (repositories) that generate a pile of swagger and markdown files in a centralized repository. We then have a script that git-pulls those files to a local folder on DapperDox server.
So ideally every build process of one of those projects would generate the needed files, and then trigger a reload on DapperDox.
Right now our only option is to restart DapperDox which results with a short blink. The more content that we have, this blink would become longer.

from dapperdox.

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.