Anypoint Best Practices
use-schemas-requests
general > use-schemas-requests
Guidance / Message
Use schemas or data types in the specification to determine the format of the request bodies.
Examples
valid
#%RAML 1.0
title: Ruleset API
mediaType:
- application/json
/abc:
get:
body:
type: string
invalid
#%RAML 1.0
title: Ruleset API
mediaType:
- application/json
/abc:
get:
body:
type: any
Applies to Request