Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Add missing fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
domharrington committed Apr 19, 2019
1 parent 9d2e001 commit 159163f
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions packages/api-explorer/__tests__/fixtures/boolean/oas.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"openapi": "3.0.0",
"servers": [
{
"url": "https://example.com"
}
],
"info": {
"version": "1.0.0"
},
"paths": {
"/boolean-with-default": {
"get": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "boolean",
"default": false
}
}
}
}
}
},
"/boolean-without-default": {
"get": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
}
}
}
}
}

0 comments on commit 159163f

Please sign in to comment.