From 824d790478ede7dd36134c689131aa484b769a53 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 22 Mar 2016 00:27:34 +0200 Subject: [PATCH 1/2] Fix allOf referencing array schema --- lib/components/JsonSchema/json-schema.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/JsonSchema/json-schema.js b/lib/components/JsonSchema/json-schema.js index c5ef5430..efb2be8a 100644 --- a/lib/components/JsonSchema/json-schema.js +++ b/lib/components/JsonSchema/json-schema.js @@ -127,7 +127,7 @@ const injectors = { inject: (injectTo, propertySchema = injectTo, propPointer) => { injectTo._isArray = true; injectTo._pointer = propertySchema.items._pointer - || JsonPointer.join(propPointer, ['items']); + || JsonPointer.join(propertySchema._pointer || propPointer, ['items']); runInjectors(injectTo, propertySchema.items, propPointer); } diff --git a/package.json b/package.json index 243c79ca..197f16d2 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "redoc", "description": "Swagger-generated API Reference Documentation", - "version": "0.7.3", + "version": "0.7.4", "repository": { "type": "git", "url": "git://github.com/Rebilly/ReDoc" From 35e388583cccb43c991cecac47c4415080231600 Mon Sep 17 00:00:00 2001 From: Roman Hotsiy Date: Tue, 22 Mar 2016 00:43:40 +0200 Subject: [PATCH 2/2] remove padding from api-logo --- lib/components/ApiLogo/api-logo.scss | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/ApiLogo/api-logo.scss b/lib/components/ApiLogo/api-logo.scss index b2ade531..1e16b41e 100644 --- a/lib/components/ApiLogo/api-logo.scss +++ b/lib/components/ApiLogo/api-logo.scss @@ -5,6 +5,6 @@ img { width: auto; display: inline-block; max-width: 100%; - padding: 0 5px; + //padding: 0 5px; box-sizing: border-box; } diff --git a/package.json b/package.json index 197f16d2..bc324973 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "redoc", "description": "Swagger-generated API Reference Documentation", - "version": "0.7.4", + "version": "0.7.5", "repository": { "type": "git", "url": "git://github.com/Rebilly/ReDoc"