Discussions
YAML is not rendering correctly.
Hello,
We are trying to upload the YAML file shown below. In the previous (pre-migration) version of the README, this file was processed correctly. However, after the migration, uploading the same document no longer populates the paths, query parameters, or other fields.
Is there a new recommended way to import YAML files, or have there been any breaking changes that we should apply to our structure?
Screenshots for reference:
Here's The YAML File :
{"openapi":"3.0.3","info":{"title":"Amazon SP-API – Create Feed Document","version":"2021-06-30","description":"Creates a feed document to upload feed data to Amazon."},"servers":[{"url":"https://sellingpartnerapi-eu.amazon.com"}],"paths":{"/feeds/2021-06-30/documents":{"post":{"summary":"Create Feed Document","operationId":"createFeedDocument","parameters":[{"name":"contentType","in":"query","required":true,"schema":{"type":"string","example":"application/pdf"},"description":"MIME type of the file to be uploaded"},{"name":"x-amz-access-token","in":"header","required":true,"schema":{"type":"string"},"description":"Amazon SP-API Access Token"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["contentType"],"properties":{"contentType":{"type":"string","example":"application/pdf"}}},"example":{"contentType":"application/pdf"}}}},"responses":{"200":{"description":"Feed document created successfully","content":{"application/json":{"schema":{"type":"object","properties":{"payload":{"type":"object","properties":{"uploadDestinationId":{"type":"string","example":"51066d6e-3d82-41b4-8057-988240c39e32"},"url":{"type":"string","example":"https://s3.eu-west-1.amazonaws.com/buyer-seller-messaging-prod-draft-attachment-eumarketplace/..."},"headers":{"type":"object","properties":{"x-amz-server-side-encryption":{"type":"string","example":"aws:kms"},"Content-MD5":{"type":"string","example":"5e543256c480ac577d30f76f9120eb74"}},"required":["x-amz-server-side-encryption","Content-MD5"]}},"required":["uploadDestinationId","url","headers"]}}},"example":{"payload":{"uploadDestinationId":"51066d6e-3d82-41b4-8057-988240c39e32","url":"https://s3.eu-west-1.amazonaws.com/buyer-seller-messaging-prod-draft-attachment-eumarketplace/...","headers":{"x-amz-server-side-encryption":"aws:kms","Content-MD5":"5e543256c480ac577d30f76f9120eb74"}}}}}},"400":{"description":"Invalid request"},"401":{"description":"Unauthorized"},"500":{"description":"Internal server error"}}}}}}
Thank you