Comments (7)
We should also consider if there's a way to automatically sync the swagger.yaml
file from this repository to Swagger Hub whenever it is changed. The other way, from Swagger Hub to GitHub, seems to be working out of the box.
from documents-api.
We could use this endpoint on Swagger Hub to automate it via GitHub Actions:
https://app.swaggerhub.com/apis-docs/swagger-hub/registry-api/1.0.63#/APIs/saveDefinition
from documents-api.
@GeorgDangl @pasi-paasiala I've added an integration in swaggerhub which syncs the spec from swaggerhub to github. The sync is pushing to a branch called swaggerhub, please check it out.
Sync from github to swaggerhub is only available with the Enterprise plan for swaggerhub.
from documents-api.
See also #6 as an alternative.
I'm fine with either approach, let's discuss it together๐
from documents-api.
Btw, the sync from Swagger Hub into the branch swaggerhub
seems to overwrite the README at the moment. There's probably a checkmark somewhere, or we need to move the swagger.yaml
to a sub folder.
from documents-api.
@GeorgDangl I've edited the integration - the README is no longer overwritten, see the swaggerhub-inbound branch. I could also remove the hidden .swagger-codegen-ignore file and the .swagger-codegen directory; What do you think?
from documents-api.
Yeah, I think we can remove the codegen directories as well - we haven't talked about it, but I don't see us creating and maintaining generated clients.
from documents-api.
Related Issues (9)
- Decision: Include Acknowledgements / History? HOT 1
- Get approval from bSI for the logo HOT 2
- Add link to Swagger Hub in README and publish Swagger Hub API Definition
- upload_session query param in upload_documents_url HOT 7
- Indicate breach of polling frequency limit
- Implementation note / recommendation required for upload completion end point HOT 1
- Incosistency in visual HOT 1
- State between download documents and upload documents HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documents-api.