diff --git a/api/simplyrets-openapi.yaml b/api/simplyrets-openapi.yaml index 51e7993..840eaec 100644 --- a/api/simplyrets-openapi.yaml +++ b/api/simplyrets-openapi.yaml @@ -502,6 +502,7 @@ paths: - "$ref": "#/components/parameters/lastId" - "$ref": "#/components/parameters/vendor" - "$ref": "#/components/parameters/postalCodes" + - "$ref": "#/components/parameters/style" - "$ref": "#/components/parameters/features" - "$ref": "#/components/parameters/exteriorFeatures" - "$ref": "#/components/parameters/water" @@ -986,6 +987,7 @@ paths: - "$ref": "#/components/parameters/lastId" - "$ref": "#/components/parameters/vendor" - "$ref": "#/components/parameters/postalCodes" + - "$ref": "#/components/parameters/style" - "$ref": "#/components/parameters/features" - "$ref": "#/components/parameters/exteriorFeatures" - "$ref": "#/components/parameters/water" @@ -1534,6 +1536,26 @@ components: type: array items: type: string + style: + required: false + in: query + name: features + description: > + Filter the listings by **architectural style**. You can use + the parameter multiple times to filter by multiple styles. For + example, to search for `Contemporary` and `Bungalow`: + + ``` + https://simplyrets.com/services?style=Contemporary&style=Bungalow + ``` + + The values available for architectural style is provided by + the RETS/WebAPI vendor or MLS. + explode: true + schema: + type: array + items: + type: string features: required: false in: query