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

Quality of life #68

Merged
merged 4 commits into from
Jun 8, 2017
Merged

Quality of life #68

merged 4 commits into from
Jun 8, 2017

Conversation

christopherjbaker
Copy link
Contributor

I apologize. I was cleaning up my repo and deleted the branch, which closed the PR. here is the same PR as #64

Been trying to dig into Feathers recently, and like it very much so far! Found feathers-swagger, which made things even better. XD Found a bit of missing functionality, though.

As far as I can tell, this should fully backwards compatible.

  1. The id names are fixed to resourceId (at least in the parameters, though the url is set properly). The type is also fixed at integer. The parameter name is now set the same way the URL was before, and the type still defaults to integer, but can be overwritten at docs.idType.

  2. Only the getWithId endpoint had any responses defined, and only the 200, and with no schema. All endpoints have the appropriate responses (as far as I can tell), and off the appropriate schema (with a new list schema defined for the getWithoutId endpoint). Schema refs are also now build with the tag instead of model, the same place they were previously added if a doc.definition was present.

  3. List parameters have been added for $limit, $skip, and $sort.

@daffl daffl merged commit 742379c into feathersjs-ecosystem:master Jun 8, 2017
@daffl
Copy link
Member

daffl commented Jun 8, 2017

Those are great, thank you! Released as v0.5.0

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

Successfully merging this pull request may close these issues.

None yet

2 participants