Created
November 1, 2023 00:35
-
-
Save thehappybug/36549ca6d69e1cc796aed1754d0c8365 to your computer and use it in GitHub Desktop.
Using Optional and Nullable Properties: Example 3
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
Profile: | |
title: Profile | |
required: | |
- middle_name | |
- rider-id | |
type: object | |
properties: | |
first_name: | |
type: string | |
description: First name of the Uber user. | |
last_name: | |
type: string | |
description: Last name of the Uber user. | |
middle_name: | |
type: string | |
nullable: 'true' | |
description: Last name of the Uber user. | |
email: | |
type: string | |
description: Email address of the Uber user | |
mobile_verified: | |
type: boolean | |
description: Mobile verification of Uber user | |
rider-id: | |
type: string | |
description: Rider id of the Uber user | |
picture: | |
type: string | |
description: Image URL of the Uber user. | |
promo_code: | |
type: string | |
nullable: 'true' | |
description: Promo code of the Uber user. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment