Merge pull request #1583 from turt2live/travis/general/fix-build-1

The `rank` in search results is actually a floating point number
This commit is contained in:
Travis Ralston 2018-08-28 11:15:58 -06:00 committed by GitHub
commit b67f544026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -29,6 +29,8 @@ checkexamples: &checkexamples
source /env/bin/activate source /env/bin/activate
cd event-schemas cd event-schemas
./check_examples.py ./check_examples.py
cd ../api
./check_examples.py
genmatrixassets: &genmatrixassets genmatrixassets: &genmatrixassets
name: Generate/Verify matrix.org assets name: Generate/Verify matrix.org assets

View file

@ -198,7 +198,7 @@ paths:
description: The result object. description: The result object.
properties: properties:
rank: rank:
type: integer type: number
description: A number that describes how closely description: A number that describes how closely
this result matches the search. Higher is this result matches the search. Higher is
closer. closer.