Skip to content

Commit

Permalink
change requestBody to be an object
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Feb 11, 2019
1 parent 071d74e commit 4de6325
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions airtable.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
info:
title: Airtable
version: 1.0.0
version: "1.0.4"
openapi: 3.0.0
paths:
/{baseId}/{table}:
Expand Down Expand Up @@ -83,7 +83,7 @@ paths:
content:
application/json:
schema:
type: string
$ref: "#/components/schemas/record"
description: New record to add
required: true
responses:
Expand Down Expand Up @@ -111,7 +111,7 @@ paths:
content:
application/json:
schema:
type: string
$ref: "#/components/schemas/record"
description: Record to update
required: true
responses:
Expand All @@ -124,7 +124,7 @@ paths:
content:
application/json:
schema:
type: string
$ref: "#/components/schemas/record"
description: Record to update
required: true
responses:
Expand Down Expand Up @@ -154,6 +154,13 @@ components:
required: true
schema:
type: string

schemas:
record:
type: object
required:
- fields
properties:
fields:
type: object
servers:
- url: https://api.airtable.com/v0

0 comments on commit 4de6325

Please sign in to comment.