Skip to content

Commit

Permalink
Merge pull request #5 from trivago/WEB-53999
Browse files Browse the repository at this point in the history
WEB-53999 - Update schema, fix breaking char limit
  • Loading branch information
briaznar authored Sep 16, 2020
2 parents 3b6f43a + f213c4a commit ac349e7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## 1.12.0
- Update schema to increase max length of `other_policy` to 5000

## 1.11.2
- tEB Self-Connect: Add User agent getter and setter

Expand Down
4 changes: 2 additions & 2 deletions open-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@
"other_policy": {
"description": "Miscellaneous policies.Text field (Length limit: 1000 characters).",
"type": "string",
"maxLength": 1000
"maxLength": 5000
},
"promotions": {
"description": "Array of promotions",
Expand Down Expand Up @@ -2600,4 +2600,4 @@
}
}
}
}
}
4 changes: 2 additions & 2 deletions schemas/room-type.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@
"other_policy": {
"description": "Miscellaneous policies.Text field (Length limit: 1000 characters).",
"type": "string",
"maxLength": 1000
"maxLength": 5000
},
"promotions": {
"description": "Array of promotions",
Expand All @@ -173,4 +173,4 @@
},
"type": "object",
"$schema": "http://json-schema.org/schema#"
}
}

0 comments on commit ac349e7

Please sign in to comment.