-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMB-341: docs to support legal letters (#481)
* CMB-341: docs to support legal letters * update verbiage
- Loading branch information
1 parent
be08aef
commit 7e50102
Showing
10 changed files
with
97 additions
and
28 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
type: string | ||
|
||
enum: | ||
- us_letter | ||
- us_legal | ||
|
||
description: > | ||
Specifies the size of the letter. It accepts two values `us_letter` and `us_legal`. | ||
If the [Lob-Version header](#tag/Versioning-and-Changelog) in the request is set to `2024-01-01` and above, | ||
the `size` property is automatically included with the default value of `us_letter`, | ||
unless explicitly specified. | ||
Please note that attempting to include the `size` property in the request with the `Lob-Version` header | ||
predating to `2024-01-01` will result in an error. | ||
default: us_letter |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ allOf: | |
$ref: "../attributes/extra_service.yml" | ||
|
||
cards: | ||
description: A single-element array containing an existing card id in a string format. See [cards](#tag/Cards) for more information. | ||
description: A single-element array containing an existing card id in a string format. See [cards](#tag/Cards) for more information. Not available for `us_legal` letter size. | ||
type: array | ||
items: | ||
$ref: "../../../shared/attributes/model_ids/card_id.yml" | ||
|
@@ -69,5 +69,8 @@ allOf: | |
|
||
fsc: | ||
type: boolean | ||
description: This is in beta. Contact [email protected] or your account contact to learn more. Not available for `A4` letter size. | ||
description: This is in beta. Contact [email protected] or your account contact to learn more. Not available for `A4` and `us_legal` letter size. | ||
default: false | ||
|
||
size: | ||
$ref: "../attributes/ltr_size.yml" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
lob-version: | ||
in: header | ||
|
||
name: Lob-Version | ||
|
||
required: false | ||
|
||
description: > | ||
A string representing the version of the API being used. For more information on versioning, | ||
refer to our [Versioning and Changelog]((#tag/Versioning-and-Changelog) documentation. | ||
schema: | ||
type: string | ||
example: 2024-01-01 | ||
pattern: "^[0-9]{4}-[0-9]{2}-[0-9]{2}$" |