UNPKG

@rapharacing/schemas

Version:

OpenAPI to JSON Schema to be used with middy for CC response validation

39 lines 937 B
{ "type": "object", "properties": { "catalog": { "type": "string", "description": "Catalog of product list" }, "currentPage": { "type": "integer", "format": "int32", "description": "Number of current page" }, "products": { "type": "array", "description": "List of products", "items": { "$ref": "_definitions.json#/definitions/Product", "originalRef": "Product" } }, "totalPageCount": { "type": "integer", "format": "int32", "description": "Total page count" }, "totalProductCount": { "type": "integer", "format": "int32", "description": "Total product count" }, "version": { "type": "string", "description": "Version of product list" } }, "title": "ProductList", "description": "Representation of a Product List", "$schema": "http://json-schema.org/schema#" }