java-tutorials/raml/annotations/extensions/en_US/additionalResources.raml

14 lines
370 B
Plaintext
Raw Normal View History

#%RAML 1.0 Extension
# File located at:
# /extensions/en_US/additionalResources.raml
masterRef: ../../api.raml
usage: This extension defines additional resources for version 2 of the API.
version: v2
/foos:
/bar/{barId}:
get:
description: |
Get the foo that is related to the bar having barId = {barId}
queryParameters:
barId?: integer