Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add type to BookRequest #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
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