Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize Interfaces.json? #9

Open
ProLoser opened this issue Oct 30, 2011 · 1 comment
Open

Optimize Interfaces.json? #9

ProLoser opened this issue Oct 30, 2011 · 1 comment

Comments

@ProLoser
Copy link

I realize this may seem a bit OCD, but I actually made an API parser plugin for CakePHP (haven't made a disqus one yet though). I made use of an 'api map' which is the equivalent to your interfaces file, however I had only 2 thoughts:

Wouldn't it reduce the footprint to 1. make the 'required' field optional and 2. group interfaces under the method type?

Here is one of my examples: https://github.com/ProLoser/CakePHP-Github/blob/master/config/github.php

Although there is extra information in there that I use but the main idea is the same, things are just grouped by CRUD.

Otherwise, feel free to close this ticket, it was just a thought that popped into my head reviewing your code for integration, heh.

@dcramer
Copy link
Contributor

dcramer commented Oct 31, 2011

Both of the points are good:)

We'll be revisiting the interfaces.json very soon (as we update our plugins), so I'll keep this open for when we address that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants