Hi,
I am new to RAML and was trying out simple example but getting error, can you please pointout where am I making mistake?
Error:
Could not find expected ‘:’
Below is the code:
#%RAML 0.8
#baseUri: http://mocksvc.mulesoft.com/mocks/dfc086ce-f9ad-45a9-b466-3a6b1c7ee74d
title: Test API
version: 1.0.0
baseUri:https://sample.s3.amazonaws.com
/orders:
displayName:Order
post:
description: POST operation adds an object to a specified bucket using HTML form.
body:
application/x-www-form-urlencoded:
formParameters:
AWSAccessKeyID:
description:AWSAccessKey id of owner
type: string
acl:
description: Specified Amazon S3 access control list.
type:string
file:
- type:string
description:Text content
- type: file
description:file to upload
get:
description: GET operation returns all s3 buckets in a list
/{bucket-id}:
get:
description:The bucket-id GET operation returns the metadata of a specific bucket.