Skip to content
Permalink
Browse files

Merge pull request #1931 from sjaensch/examples-30-add-missing-object…

…-type

Add missing object type to 3.0 examples
  • Loading branch information...
MikeRalphson committed Aug 6, 2019
2 parents 68d3c31 + aa743c0 commit 44dd2cf04fceb8d3d9e4b75ff48c7ac8c3cdf9a9
Showing with 7 additions and 1 deletion.
  1. +1 −0 examples/v3.0/callback-example.yaml
  2. +4 −1 examples/v3.0/petstore-expanded.yaml
  3. +2 −0 examples/v3.0/petstore.yaml
@@ -43,6 +43,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
timestamp:
type: string
@@ -127,14 +127,16 @@ components:
Pet:
allOf:
- $ref: '#/components/schemas/NewPet'
- required:
- type: object
required:
- id
properties:
id:
type: integer
format: int64

NewPet:
type: object
required:
- name
properties:
@@ -144,6 +146,7 @@ components:
type: string

Error:
type: object
required:
- code
- message
@@ -82,6 +82,7 @@ paths:
components:
schemas:
Pet:
type: object
required:
- id
- name
@@ -98,6 +99,7 @@ components:
items:
$ref: "#/components/schemas/Pet"
Error:
type: object
required:
- code
- message

0 comments on commit 44dd2cf

Please sign in to comment.
You can’t perform that action at this time.