diff --git a/lib/components/RedocInfo/redoc-info.css b/lib/components/ApiInfo/api-info.css
similarity index 62%
rename from lib/components/RedocInfo/redoc-info.css
rename to lib/components/ApiInfo/api-info.css
index 4803c77c..434350f2 100644
--- a/lib/components/RedocInfo/redoc-info.css
+++ b/lib/components/ApiInfo/api-info.css
@@ -1,3 +1,3 @@
-h1 strong {
+h1 {
color: #1976D3;
}
diff --git a/lib/components/RedocInfo/redoc-info.html b/lib/components/ApiInfo/api-info.html
similarity index 100%
rename from lib/components/RedocInfo/redoc-info.html
rename to lib/components/ApiInfo/api-info.html
diff --git a/lib/components/RedocInfo/redoc-info.js b/lib/components/ApiInfo/api-info.js
similarity index 66%
rename from lib/components/RedocInfo/redoc-info.js
rename to lib/components/ApiInfo/api-info.js
index cdac3ec0..0accf836 100644
--- a/lib/components/RedocInfo/redoc-info.js
+++ b/lib/components/ApiInfo/api-info.js
@@ -4,14 +4,14 @@ import {Component, View, CORE_DIRECTIVES} from 'angular2/angular2';
import {SchemaManager} from '../../utils/SchemaManager';
@Component({
- selector: 'redoc-api-info'
+ selector: 'api-info'
})
@View({
- templateUrl: './lib/components/RedocInfo/redoc-info.html',
- styleUrls: ['./lib/components/RedocInfo/redoc-info.css'],
+ templateUrl: './lib/components/ApiInfo/api-info.html',
+ styleUrls: ['./lib/components/ApiInfo/api-info.css'],
directives: [CORE_DIRECTIVES]
})
-export class RedocInfo {
+export class ApiInfo {
constructor(schemaMgr) {
this.data = null;
this.schema = schemaMgr.schema;
@@ -24,4 +24,4 @@ export class RedocInfo {
//TODO: check and apply hooks to modify data
}
}
-RedocInfo.parameters = [[SchemaManager]]
+ApiInfo.parameters = [[SchemaManager]]
diff --git a/lib/components/Redoc/redoc.html b/lib/components/Redoc/redoc.html
index c8188c44..5509bc31 100644
--- a/lib/components/Redoc/redoc.html
+++ b/lib/components/Redoc/redoc.html
@@ -1,2 +1,2 @@
-
+
diff --git a/lib/components/Redoc/redoc.js b/lib/components/Redoc/redoc.js
index d2c523ca..fff800c5 100644
--- a/lib/components/Redoc/redoc.js
+++ b/lib/components/Redoc/redoc.js
@@ -2,7 +2,7 @@
import {Component, View} from 'angular2/angular2';
import {SchemaManager} from '../../utils/SchemaManager';
-import {RedocInfo} from '../RedocInfo/redoc-info';
+import {ApiInfo} from '../ApiInfo/api-info';
import {PathsList} from '../PathsList/paths-list';
@Component({
@@ -11,7 +11,7 @@ import {PathsList} from '../PathsList/paths-list';
})
@View({
templateUrl: './lib/components/Redoc/redoc.html',
- directives: [RedocInfo, PathsList]
+ directives: [ApiInfo, PathsList]
})
export class Redoc {
constructor(schemaMgr) {
diff --git a/lib/components/index.js b/lib/components/index.js
index dea0c5a0..bf07f4c9 100644
--- a/lib/components/index.js
+++ b/lib/components/index.js
@@ -1,4 +1,4 @@
'use strict';
export * from './Redoc/redoc';
-export * from './RedocInfo/redoc-info';
+export * from './ApiInfo/api-info';