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

Failed with `Error: Error parsing response example "Job in Progress"`

Open vadym-khodak opened this issue 1 year ago • 2 comments

I tried to convert public Postman collection

vadym-khodak avatar Jan 02 '24 14:01 vadym-khodak

I checked your link and found multiple missing requirements as JSON format like :

  • missing comma
  • comma didnt place in the right place
  • missing double quote for date string
  • invalid double quote character

At some example like :

  • Behavioral Cohorts API / Update Membership / Update Success
  • Behavioral Cohorts API / Get Cohort Status / Job in Progress
  • Chart Annotations API / Create Chart Annotation / Create Chart Annotation
  • Chart Annotations API / Get Chart Annotation / Get Chart Annotation
  • Dashboard REST API / Event Segmentation Chart / Event Segmentation Chart / Get custom event between June 29th and June 30th

If you still want using p2o for that collection, here I attach same collection with fixed response example. Amplitude Analytics APIs.postman_collection.json

cunkz avatar Jan 04 '24 01:01 cunkz

thank you for the response

vadym-khodak avatar Jan 06 '24 09:01 vadym-khodak