Skip to content
This repository has been archived by the owner on Feb 17, 2024. It is now read-only.

#767 - Correct and simplify query string example #768

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions versions/raml-10/raml-10.md
Original file line number Diff line number Diff line change
Expand Up @@ -2041,14 +2041,14 @@ In the following example, union types and extended multiple types are used to co
#%RAML 1.0
title: Illustrate query parameter variations
types:
lat-long: # lat & long required; mutually exclusive with location
lat-long:
properties:
lat: number
long: number
loc: # location required; mutually exclusive with lat & long
loc:
properties:
location:
paging: # each is optional, not exclusive with anything
paging:
properties:
start?: number
page-size?: number
Expand All @@ -2067,11 +2067,6 @@ types:
start: 2
page-size: 20
location: 1,2
third: # not valid
value:
lat: 12
location: 2
strict: false # because it's not valid
```

#### Query Parameters in a Query String
Expand Down