From 274efe6fbd2315da9928d3a2ef5bda692c4df91f Mon Sep 17 00:00:00 2001 From: SamuelMartini Date: Wed, 26 Feb 2020 16:44:40 +0100 Subject: [PATCH] Replace wrong key and add parameters in product taxons endpoint doc Spree::Api::TaxonsController#products accept `id` param to find the taxon. The products action also accept `simple` param to filter product data. --- api/openapi/api.oas2.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/api/openapi/api.oas2.yml b/api/openapi/api.oas2.yml index 98aa217df75..014162e4fc4 100644 --- a/api/openapi/api.oas2.yml +++ b/api/openapi/api.oas2.yml @@ -4586,10 +4586,13 @@ paths: - Products parameters: - in: query - name: taxon_id + name: id type: integer - $ref: '#/parameters/page' - $ref: '#/parameters/per_page' + - type: boolean + in: query + name: simple security: - api-key: [] schemes: