72pulses / apidoco Goto Github PK
View Code? Open in Web Editor NEWRuby on Rails API documentation tool
Home Page: https://apidoco-demo.herokuapp.com/docs/apis/v2
License: MIT License
Ruby on Rails API documentation tool
Home Page: https://apidoco-demo.herokuapp.com/docs/apis/v2
License: MIT License
This is error in console browser :
GET http://localhost:3000/stylesheets/apidoco/application.css net::ERR_ABORTED
GET http://localhost:3000/javascripts/apidoco/application.js net::ERR_ABORTED
It is necessary to reflect the http code in the examples of requests, how can this be done?
couldn't find file 'angular/1.8.0/angular' with type 'application/javascript'
// about supported directives.
//
//= require angular/1.8.0/angular < ------- error
//
//= require apidoco/jquery.min
//= require apidoco/jquery.json-viewer
I'd like to specify in the parameters for a request, or for a response to a request.
for example, to inform that the parameter is optional or to describe it.
In examples of requests, the essence of one or another parameter (in response to a request) may not always be clear.
This is the milestone issue which focuses on building the following
docs
---api
------v1
---------posts
------------create.json
------------list.json
------------show.json
------------update.json
------------delete.json
---------comments
------------create.json
------------delete.json
------v2
---------posts
------------create.json
------------list.json
------------show.json
------------update.json
------------delete.json
---------comments
------------create.json
------------delete.json
Apidoco::Documentation
- parsers all the files of the specified documentation folder(ex:- v1)ApiDoco::VersionParser
- keeps track of all the Documentations(ex:- should have an array of all the Apidoco::Documentation versions)Apidoco::Documentation
- https://github.com/alameenkhader/apidoco/issues/5ApiDoco::VersionParser
- https://github.com/alameenkhader/apidoco/issues/6The page title is currently hardcoded as Apidoco
, it would be nice to override via a setting.
<head>
<title>Apidoco</title>
<%= stylesheet_link_tag "apidoco/application", media: "all" %>
<%= javascript_include_tag "apidoco/application" %>
<%= csrf_meta_tags %>
</head>
https://github.com/72pulses/apidoco/blob/master/app/views/layouts/apidoco/application.html.erb
I tried using the gem in and old project that uses the api only mode in rails but when I access the /docs route it shows just the HTML with angular tags. So... Does the gem work with this type of API?
It shows like this in my localhost
The project configs are:
Thanks for the attention!
What a mission that was to figure out!
Especially due to .DS_Store files no longer showing in finder (even when showing dotfiles ๐)
Not sure if this is really an issue, but worth noting anyway.
Thanks for the great gem!
Search option in sidebar is showing all child elements even if only one child matches the search keyword
It looks like example can't include response headers
Is there a way to document the response headers?
There should be as for api auth responses.. i'm using devise_token_auth and they give the token info in the response headers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.