Skip to content

Instantly share code, notes, and snippets.

@thehappybug
Created November 1, 2023 00:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thehappybug/de635b548f9a11d4542f9f837f222e71 to your computer and use it in GitHub Desktop.
Save thehappybug/de635b548f9a11d4542f9f837f222e71 to your computer and use it in GitHub Desktop.
Using Optional and Nullable Properties: Example 2
Profile:
title: Profile
required:
- middle_name
- rider-id
type: object
properties:
first_name:
type: string
description: First name 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