Mule – API KIT Router Mode Verification

Is there a way for API Kit Router to verify the incoming mode? I have the following in my RAML file, but it does not validate the incoming architecture.

- emails: |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
" email": {
"type": "string"
},
"name": {
"type": "string"
},
"emailOrigin": {
"type": "string"
}
}
}

resourceTypes:
-postbase:< br /> post:
responses:
200:
body:
application/json:
500:
body:
application/json :
-putBase:
put:
responses:
200:
body:
application/json:
500:
body:
application/json:

/emails:
type: postbase
post: description: |
Recieve emails captured from various parts of the site.
body:
schema: emails

As far as I know, any text is valid for this architecture.
All fields are strings, not required, and not in any specific format.
Try to follow Need to place some fields and see what happens

Cheers!

Is there a way to let API Kit Router verify the incoming mode? I have the following in my RAML file, but it does not validate the incoming architecture.

- emails: |
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
" email": {
"type": "string"
},
"name": {
"type": "string"
},
"emailOrigin": {
"type": "string"
}
}
}

resourceTypes:
-postbase:< br /> post:
responses:
200:
body:
application/json:
500:
body:
application/json :
-putBase:
put:
responses:
200:
body:
application/json:
500:
body:
application/json:

/emails:
type: postbase
post:
description: |
Recieve emails captured from various parts of the site.
body:
schema: emails

According to As far as I know, any text is valid for this schema.
All fields are strings, not required, not in any specific format.
Try to place some fields as needed and see what happens

< /p>

Cheers!

Leave a Comment

Your email address will not be published.