ricellis commented on issue #820: Add support for queries in /{db}/_all_docs 
POST
URL: https://github.com/apache/couchdb/issues/820#issuecomment-363763529
 
 
   @chewbranca 
   Yes, I'm aware of the support already existing in the `_view` API and if 
people want to match that behaviour I can live with it. I just thought it might 
be better to stem the flow of APIs not describable by OpenAPI if we can.
   
   @rnewson 
   The difference is in making something that *could* be described by the 
OpenAPI specification where the response schema is limited to being varied by 
the `path` or by the `content-type` - not other headers, query parameters, or 
body content.
   
   Whilst a custom `Content-type` like `x-vnd.couchdb.view` would allow for 
different response schemas the downside would be missing out on automatic 
handling provided by using `application/json` (e.g. in auto-generated 
documentation with HTTP examples).
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to