java-tutorials/raml/modularization/traits/hasRequestItem.raml

6 lines
138 B
Plaintext

#%RAML 1.0 Trait
usage: Use this trait for resources whose request body is a single item
body:
application/json:
type: <<typeName>>