Last active
June 2, 2021 06:27
-
-
Save edegula/d4299223bcbe7903814fc45376ba8b22 to your computer and use it in GitHub Desktop.
RAML for queryParameters that accepts multiple values.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#%RAML 1.0 | |
--- | |
title: test | |
version: v2 | |
protocols: [ HTTP ] | |
mediaType: application/json | |
traits: | |
sparsable: | |
queryParameters: | |
detail?: | |
type: string | |
pattern: ^(<<fieldset>>)([,?](<<fieldset>>))*$ | |
/api: | |
displayName: api | |
get: | |
is: [ sparsable: { fieldset: small|big|categories|box } ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment