openapi-schemas icon indicating copy to clipboard operation
openapi-schemas copied to clipboard

catalog api errors on schema

Open eternalparquet opened this issue 3 years ago • 0 comments

When I validate the schema with openapi tool generator on catalog api, I get these errors:

Errors:
        - attribute
          paths.'/api/catalog-seller-portal/products/{param}={value}'(get).responses.200.content.'application/json'.schema.items
          is missing
        - attribute
          paths.'/api/catalog-seller-portal/products/{productId}'(get).responses.200.content.'application/json'.schema.items
          is missing
        - attribute
          paths.'/api/catalog-seller-portal/products'(post).requestBody.content.'application/json'.schema.items
          is missing
        - attribute
          paths.'/api/catalog-seller-portal/products'(post).responses.200.content.'application/json'.schema.items
          is missing
        - attribute
          paths.'/api/catalog-seller-portal/products/{productId}'(put).requestBody.content.'application/json'.schema.items
          is missing

How to fix that?

eternalparquet avatar Nov 08 '22 14:11 eternalparquet