Comments (9)
Here's the link:
http://apis-guru.github.io/api-models/api/v1/list.json
Ivan, maybe redirect to that page from apis-guru.github.io/api-models?
Bobby Brennan
[email protected]
On Thu, Nov 5, 2015 at 5:21 PM, Roman Hotsiy [email protected]
wrote:
Currently this page http://apis-guru.github.io/api-models/ returns 404
errer. It would be great if it had list of links to all the modles in this
repo—
Reply to this email directly or view it on GitHub
#17.
from openapi-directory.
@bobby-brennan I think it rude to show JSON as main page of site.
And I understand use case, Github disable CORS on raw links inside repo.
So if you want to use spec in some online service without proxy you need to make url http://apis-guru.github.io/api-models/ + which is not so obvious and easy.
I think simple html with links to specs and small text section will satisfy all needs.
from openapi-directory.
I'm not sure but I believe that it's not possible to have redirects on Github pages.
from openapi-directory.
I generally agree with this, there should definitely be something on the root page. But @IvanGoncharov - are you thinking this should be human friendly? Seems so by this comment:
I think it rude to show JSON as main page of site.
If so, I think the main gh-page should default to a simple splash screen of all the models and they should link to the swagger,etc. generated docs with an additional link to the actual json.
Thoughts?
from openapi-directory.
they should link to the swagger,etc. generated docs
I think generating docs is out of scope of this project. I don't want to compete with companies which provide API related service, instead I want to supply them with API specs. So https://any-api.com/ is showing generated docs and https://sdks.io/ is generating SDKs. At the same time I want this project to be vendor-independent so I link them only in this section.
Ideally I want to create main page that explain this project(Reveal.js is good candidate). But I don't have time and knowledge at the moment.
@RomanGotsiy pointed to real problem, at the moment it's hard to guess link to particular Swagger spec.
And thinking about KISS solution, very simple HTML with links like that:
<a href="https://apis-guru.github.io/api-models/googleapis.com/drive/v1/swagger.json">
googleapis.com/drive/v1/swagger.json
</a>
@brennebeck What do you think?
P.S. I'm gladly accept any help and I'm really open to PRs :)
If you have some questions you we can chat on Gitter
from openapi-directory.
I definitely think linking to all the specs is better than 404'ing and is a good placeholder until something matching a proper explanation page, like you describe, is in place.
Do you have any preference for a language or kit to automate the building of this? I have a few extra hours this week and would be glad to give it a go - nobody wants to manually edit that page with every addition, I'm sure ;)
from openapi-directory.
I use collection.js script to do all operations with collection.
After each commit deploy_gh_pages.sh script is executed and it already have commands for generating CSV and REST API.
You can add separate command to generate HTML, to get list of files use getSpecs function.
from openapi-directory.
Thanks! I'll work on putting something together this week 👍
from openapi-directory.
@brennebeck Do you have any progress?
You can make PR with unfinished code and I will help.
from openapi-directory.
Related Issues (20)
- Add "OfficeExport" API
- Add "Noise Destroyer" API
- Add "APICache" API
- Youtube api causes error
- Add "Sports API for Highlights" API
- Add "Remote Jobs API Feed" API
- Add "Techmap's Daily International Job Postings API" API
- Domain expired HOT 2
- Add "Ocean API" API
- Add "Smartsheet" API
- Add "Cloudflare API" API HOT 1
- Add "Cryptlex Web API" API
- Add "NavigaTUM API - How to find Rooms at the Technical University of Munich (TUM)" API
- Add "Testwith" API
- Add "Lemmy Client API" API
- Add "SimpleBackups API" API
- Add "Tyk Gateway API" API
- Add "Tyk Dashboard API" API
- OpenAI version
- Add "ETSI ETSI GS MEC 010-2 - LCM API" API
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 openapi-directory.