From 5fc92ed56e61fa34387237d2d4ed8075bd940fa2 Mon Sep 17 00:00:00 2001 From: Nicholas Lim <18374483+niclim@users.noreply.github.com> Date: Thu, 18 May 2023 15:08:54 -0400 Subject: [PATCH] add dateOfBirth to authors --- openapi.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/openapi.yml b/openapi.yml index dc4a50d..12b344d 100644 --- a/openapi.yml +++ b/openapi.yml @@ -1,4 +1,5 @@ openapi: 3.1.3 +x-optic-url: https://app.useoptic.com/organizations/32613bcd-704e-4661-85f0-7b3d75613fb0/apis/NHZgBHDASGWtM3JjjE0m5 info: title: Optic Bookstore Demo Spec description: A demo specification for Optic @@ -148,6 +149,9 @@ paths: properties: name: type: string + dateOfBirth: + type: string + format: timestamp responses: "204": description: Successfully updated author @@ -174,6 +178,9 @@ components: properties: name: type: string + dateOfBirth: + type: string + format: timestamp required: - name AuthorResponse: @@ -185,6 +192,9 @@ components: name: type: string example: Jane Austen + dateOfBirth: + type: string + format: timestamp created_at: type: string format: timestamp