Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions openapi.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -205,9 +206,15 @@ components:
type: string
author_id:
type: string
type:
type: string
enum:
- fiction
- non-fiction
required:
- name
- author_id
- type
BookResponse:
type: object
properties:
Expand Down