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

9 lines
219 B
Plaintext
Raw Normal View History

2016-02-06 12:32:12 -05:00
#%RAML 1.0 Trait
usage: Use this trait for resources that could respond with a 404 status
responses:
404:
body:
application/json:
type: Error
example: !include /examples/Error.json