chore(oas): clean up oas (#9354)
* clean up generated oas * fix issues in docs-util * more fixes * align max level * validation fix * add missing summaries * fix validation * fix exchanges route
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* description: SUMMARY
|
||||
* description: The deletion's details.
|
||||
* required:
|
||||
* - success
|
||||
* properties:
|
||||
|
||||
@@ -815,7 +815,7 @@
|
||||
* schema:
|
||||
* allOf:
|
||||
* - type: object
|
||||
* description: SUMMARY
|
||||
* description: The paginated list of collections.
|
||||
* required:
|
||||
* - limit
|
||||
* - offset
|
||||
@@ -824,17 +824,17 @@
|
||||
* limit:
|
||||
* type: number
|
||||
* title: limit
|
||||
* description: The collection's limit.
|
||||
* description: The maximum number of items returned.
|
||||
* offset:
|
||||
* type: number
|
||||
* title: offset
|
||||
* description: The collection's offset.
|
||||
* description: The number of items skipped before retrieving the returned items.
|
||||
* count:
|
||||
* type: number
|
||||
* title: count
|
||||
* description: The collection's count.
|
||||
* description: The total number of items.
|
||||
* - type: object
|
||||
* description: SUMMARY
|
||||
* description: The paginated list of collections.
|
||||
* required:
|
||||
* - collections
|
||||
* properties:
|
||||
|
||||
+34
-13
@@ -54,31 +54,52 @@
|
||||
* - name: city
|
||||
* in: query
|
||||
* description: Filter by the address's city.
|
||||
* required: true
|
||||
* required: false
|
||||
* schema:
|
||||
* type: string
|
||||
* title: city
|
||||
* description: Filter by the address's city.
|
||||
* oneOf:
|
||||
* - type: string
|
||||
* title: city
|
||||
* description: Filter by a city.
|
||||
* - type: array
|
||||
* description: Filter by cities.
|
||||
* items:
|
||||
* type: string
|
||||
* title: city
|
||||
* description: A city.
|
||||
* - name: postal_code
|
||||
* in: query
|
||||
* description: Filter by the address's postal code.
|
||||
* required: true
|
||||
* required: false
|
||||
* schema:
|
||||
* type: string
|
||||
* title: postal_code
|
||||
* description: Filter by the address's postal code.
|
||||
* oneOf:
|
||||
* - type: string
|
||||
* title: postal_code
|
||||
* description: Filter by a postal code.
|
||||
* - type: array
|
||||
* description: Filter by postal codes.
|
||||
* items:
|
||||
* type: string
|
||||
* title: postal_code
|
||||
* description: A postal code.
|
||||
* - name: country_code
|
||||
* in: query
|
||||
* description: Filter by the address's country code.
|
||||
* required: true
|
||||
* required: false
|
||||
* schema:
|
||||
* type: string
|
||||
* title: country_code
|
||||
* description: Filter by the address's country code.
|
||||
* oneOf:
|
||||
* - type: string
|
||||
* title: country_code
|
||||
* description: Filter by a country code.
|
||||
* - type: array
|
||||
* description: Filter by country codes.
|
||||
* items:
|
||||
* type: string
|
||||
* title: country_code
|
||||
* description: A country code.
|
||||
* - name: q
|
||||
* in: query
|
||||
* description: Search term to filter the address's searchable properties.
|
||||
* required: true
|
||||
* required: false
|
||||
* schema:
|
||||
* type: string
|
||||
* title: q
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
* schema:
|
||||
* allOf:
|
||||
* - type: object
|
||||
* description: SUMMARY
|
||||
* description: The paginated list of orders.
|
||||
* required:
|
||||
* - limit
|
||||
* - offset
|
||||
@@ -140,17 +140,17 @@
|
||||
* limit:
|
||||
* type: number
|
||||
* title: limit
|
||||
* description: The order's limit.
|
||||
* description: The maximum number of items returned.
|
||||
* offset:
|
||||
* type: number
|
||||
* title: offset
|
||||
* description: The order's offset.
|
||||
* description: The number of items skipped before retrieving the returned items.
|
||||
* count:
|
||||
* type: number
|
||||
* title: count
|
||||
* description: The order's count.
|
||||
* description: The total number of items.
|
||||
* - type: object
|
||||
* description: SUMMARY
|
||||
* description: The paginated list of orders.
|
||||
* required:
|
||||
* - orders
|
||||
* properties:
|
||||
|
||||
@@ -136,7 +136,7 @@
|
||||
* schema:
|
||||
* allOf:
|
||||
* - type: object
|
||||
* description: SUMMARY
|
||||
* description: The paginated list of regions.
|
||||
* required:
|
||||
* - limit
|
||||
* - offset
|
||||
@@ -145,23 +145,23 @@
|
||||
* limit:
|
||||
* type: number
|
||||
* title: limit
|
||||
* description: The region's limit.
|
||||
* description: The maximum number of items returned.
|
||||
* offset:
|
||||
* type: number
|
||||
* title: offset
|
||||
* description: The region's offset.
|
||||
* description: The number of items skipped before retrieving the returned items.
|
||||
* count:
|
||||
* type: number
|
||||
* title: count
|
||||
* description: The region's count.
|
||||
* description: The total number of items.
|
||||
* - type: object
|
||||
* description: SUMMARY
|
||||
* description: The paginated list of regions.
|
||||
* required:
|
||||
* - regions
|
||||
* properties:
|
||||
* regions:
|
||||
* type: array
|
||||
* description: The region's regions.
|
||||
* description: The list of regions.
|
||||
* items:
|
||||
* $ref: "#/components/schemas/StoreRegion"
|
||||
* "400":
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
* application/json:
|
||||
* schema:
|
||||
* type: object
|
||||
* description: SUMMARY
|
||||
* description: The region's details.
|
||||
* required:
|
||||
* - region
|
||||
* properties:
|
||||
|
||||
Reference in New Issue
Block a user