Giter Club home page Giter Club logo

Comments (4)

SidneyAllen avatar SidneyAllen commented on July 20, 2024

@MatthewSteeples - While we created our spec on SwaggerHub, we found our Accounting API spec so large that the editor became sluggish and would hang. I think this is because every character you type triggers a validation and re rendering.

For this reason, we've moved to VSCode to edit and merge changes into GitHub.

If there is a way for SwaggerHub to consume a yaml file from our existing Repo, let us know.

from xero-openapi.

MatthewSteeples avatar MatthewSteeples commented on July 20, 2024

@SidneyAllen There is. You can either feed your YAML file into SwaggerHub (and it supports listening to a GitHub repo for changes so it can auto update) or you can actually host it on any static site - Eg https://cloudflare-ipfs.com/ipfs/QmfCqx45GnuhWsVp5BaWwLDBhRzvkSFU1vNToobfxosoME/

The files required actually build the page from the YAML on demand, so there's no rebuild required

from xero-openapi.

SidneyAllen avatar SidneyAllen commented on July 20, 2024

@MatthewSteeples - you'll have to share more specific instructions. I just looked at SwaggerHub docs and it says the GitHub sync is one-way ... from SwaggerHub TO a GitHub repository and not the reverse.

https://app.swaggerhub.com/help/integrations/github-sync

Screen Shot 2020-05-01 at 2 12 58 PM

from xero-openapi.

MatthewSteeples avatar MatthewSteeples commented on July 20, 2024

Hmm, I'll get back to you on that next week then. I've not actually looked into it personally but was going off what one of my team said they'd discovered

from xero-openapi.

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.