cancel
Showing results for 
Search instead for 
Did you mean: 

Swagger Metadata is incomplete for all/V1/contact/getList endpoint.

Swagger Metadata is incomplete for all/V1/contact/getList endpoint.

Hi,
I integrated Magento using REST APIs using JAVA. I want to generate a request/response schema using metadata from Swagger.

 

Issue:

I generated the schema for all/V1/contact/getList using Swagger metadata but the actual response from calling getList API is different.

Some fields are missing from the Swagger metadata which I can see in the API response, due to which my schema is incomplete.

 

Queries:

  • Can anyone let me know what can be the issue?
  • Why some fields from API response are missing in Swagger JSON metadata?