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

9 lines
219 B
Plaintext
Raw Normal View History

#%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