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

6 lines
138 B
Plaintext
Raw Normal View History

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