540co / epa-rfi-backend

API prototype for EPA Environmental Digital Services using NodeJS and ElasticSearch.
5 stars 0 forks source link

Fields parameter not working on /facilities route. #13

Closed patricknowlan closed 8 years ago

patricknowlan commented 8 years ago

Using swagger to hit the /facility route and sending in the "fields" param of "facility.address" does not limit the response object.

https://airhound-dev.540.co/api/facilities?fields=facility.address

patricknowlan commented 8 years ago

Is this working? or should we move this into an enhancement / backlog?