Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
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
45 changes: 45 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,51 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- chore: resolving some conflicts in the package lock files [`e061ea2`](https://github.com/readmeio/api-explorer/commit/e061ea2622f5172f6eb1ca04ffb34e6d2d8d3b6e)
- deps: removing our circleci build config [`b7f2e8c`](https://github.com/readmeio/api-explorer/commit/b7f2e8cdbaa8e23785b50754b15471dc127be910)

#### [v4.19.2](https://github.com/readmeio/api-explorer/compare/v4.19.1...v4.19.2)

> 27 February 2020

- chore: excluding test coverage directories from npm [`9b88cf5`](https://github.com/readmeio/api-explorer/commit/9b88cf5e9f0a20a473c1d9c488c71b338a7137e4)
- chore: updating dist files [`448ff1e`](https://github.com/readmeio/api-explorer/commit/448ff1eaaf83218d651bd60f599f454a1ea3ae0f)

#### [v4.19.1](https://github.com/readmeio/api-explorer/compare/v4.19.0...v4.19.1)

> 27 February 2020

- chore(deps): upgrading @readme/oas-tooling to 2.1.1 [`#496`](https://github.com/readmeio/api-explorer/pull/496)
- docs: adding a new oneOf example for a nested oneOf [`31c2902`](https://github.com/readmeio/api-explorer/commit/31c29028ce49c967ebe3a272fa12068aa6638689)

#### [v4.19.0](https://github.com/readmeio/api-explorer/compare/v4.18.2...v4.19.0)

> 26 February 2020

- chore(deps): upgrading @readme/oas-tooling to 2.1.0 [`#494`](https://github.com/readmeio/api-explorer/pull/494)
- build: updating dist files [`94cb122`](https://github.com/readmeio/api-explorer/commit/94cb122fbae950b98a90aa4549ece58a6aa85e44)

#### [v4.18.2](https://github.com/readmeio/api-explorer/compare/v4.18.1...v4.18.2)

> 25 February 2020

- fix: downgrading datetime inputs to simple text inputs [`#493`](https://github.com/readmeio/api-explorer/pull/493)
- chore(deps-dev): Bump @readme/eslint-config from 1.12.0 to 1.13.0 [`#489`](https://github.com/readmeio/api-explorer/pull/489)
- chore(deps-dev): Bump webpack from 4.41.5 to 4.41.6 [`#490`](https://github.com/readmeio/api-explorer/pull/490)
- chore(deps-dev): Bump terser-webpack-plugin from 2.3.4 to 2.3.5 [`#491`](https://github.com/readmeio/api-explorer/pull/491)
- chore(deps): Bump fetch-har from 2.2.1 to 2.3.0 [`#487`](https://github.com/readmeio/api-explorer/pull/487)
- chore(deps): Bump codemirror from 5.51.0 to 5.52.0 [`#492`](https://github.com/readmeio/api-explorer/pull/492)
- chore(deps-dev): Bump nock from 12.0.0 to 12.0.1 [`#488`](https://github.com/readmeio/api-explorer/pull/488)
- chore(deps-dev): Bump webpack-cli from 3.3.10 to 3.3.11 [`#486`](https://github.com/readmeio/api-explorer/pull/486)
- chore(deps): swapping oas for @readme/oas-tooling [`#485`](https://github.com/readmeio/api-explorer/pull/485)
- build: updating dist files [`7e8fcc9`](https://github.com/readmeio/api-explorer/commit/7e8fcc9722ae643507c45704dc2b46391db5a916)

#### [v4.18.1](https://github.com/readmeio/api-explorer/compare/v4.18.0...v4.18.1)

> 20 February 2020

- fix: Params before logs [`#483`](https://github.com/readmeio/api-explorer/pull/483)
- fix: edge case where Content-Type could sometimes be doubled up [`#484`](https://github.com/readmeio/api-explorer/pull/484)
- build: updating dist files [`1c341f5`](https://github.com/readmeio/api-explorer/commit/1c341f56a04463a3e8ec300787683729c5e62bd1)
- chore: setting the root package.json to private to prevent accidental publishes [`f0e2653`](https://github.com/readmeio/api-explorer/commit/f0e2653503edce113053c8b1efd8dc96f4f70282)

#### [v4.18.0](https://github.com/readmeio/api-explorer/compare/v4.17.1...v4.18.0)

> 18 February 2020
Expand Down
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npx http-server example/dist --port $PORT
81 changes: 81 additions & 0 deletions example/swagger-files/empty-params.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"openapi": "3.0.0",
"info": {
"title": "Bug Test",
"version": "0.0.1"
},
"servers": [
{
"url": "https://httpbin.org/"
}
],
"paths": {
"/post": {
"post": {
"tags": [],
"operationId": "requestWithEmptyParams",
"parameters": [
{
"name": "param3",
"in": "query",
"description": "",
"schema": {
"type": "string",
"default": ""
}
},
{
"name": "param4",
"in": "query",
"description": "",
"schema": {
"type": "string",
"default": "tktktktk"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"emptyParams": {
"type": "object",
"description": "",
"properties": {
"param1": {
"type": "string",
"description": "",
"required": false,
"default": ""
},
"param2": {
"type": "string",
"description": "",
"required": false,
"default": "tktktk"
}
}
}
}
}
}
}
},
"deprecated": false
}
}
},
"x-headers": [],
"x-explorer-enabled": true,
"x-proxy-enabled": true,
"x-samples-enabled": true,
"x-samples-languages": [
"curl",
"node",
"ruby",
"javascript",
"python"
]
}
30 changes: 29 additions & 1 deletion example/swagger-files/one-of.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
"/anything/one-of-object-ref": {
"post": {
"summary": "oneOf object with $ref pointers (does not work)",
"summary": "oneOf object with $ref pointers",
"description": "",
"requestBody": {
"content": {
Expand All @@ -95,6 +95,34 @@
}
}
}
},
"/anything/nested-one-of-object-ref": {
"post": {
"summary": "nested oneOf object with $ref pointers",
"description": "",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"config": {
"oneOf": [
{
"$ref": "#/components/schemas/object1"
},
{
"$ref": "#/components/schemas/object2"
}
]
}
},
"additionalProperties": false
}
}
}
}
}
}
},
"components": {
Expand Down
1 change: 1 addition & 0 deletions example/swagger-files/types.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"format": "date"
},
"string (format: date-time)": {
"description": "Temporarily disabled back to a simple string input due to a bug in RJSF",
"type": "string",
"format": "date-time"
},
Expand Down
Loading