docs: generate OAS for v2 (#7883)

This commit is contained in:
Shahed Nasser
2024-07-01 15:35:45 +03:00
committed by GitHub
parent 8fde57263f
commit b9036eca1a
1103 changed files with 125727 additions and 22463 deletions
@@ -0,0 +1,55 @@
/**
* @schema AdminServiceZone
* type: object
* description: The service zone's service zones.
* x-schemaName: AdminServiceZone
* required:
* - id
* - name
* - fulfillment_set_id
* - geo_zones
* - shipping_options
* - created_at
* - updated_at
* - deleted_at
* properties:
* id:
* type: string
* title: id
* description: The service zone's ID.
* name:
* type: string
* title: name
* description: The service zone's name.
* fulfillment_set_id:
* type: string
* title: fulfillment_set_id
* description: The service zone's fulfillment set id.
* geo_zones:
* type: array
* description: The service zone's geo zones.
* items:
* $ref: "#/components/schemas/AdminGeoZone"
* shipping_options:
* type: array
* description: The service zone's shipping options.
* items:
* $ref: "#/components/schemas/AdminShippingOption"
* created_at:
* type: string
* format: date-time
* title: created_at
* description: The service zone's created at.
* updated_at:
* type: string
* format: date-time
* title: updated_at
* description: The service zone's updated at.
* deleted_at:
* type: string
* format: date-time
* title: deleted_at
* description: The service zone's deleted at.
*
*/