More example urls and static examples [apm waffle] (#2478)

This commit is contained in:
Paul Melnikow
2018-12-11 16:31:01 -05:00
committed by GitHub
parent d74568b9c9
commit 88c8b0ee3e
27 changed files with 289 additions and 82 deletions

View File

@@ -20,6 +20,7 @@ module.exports = class GithubLicense extends LegacyService {
static get route() {
return {
base: 'github/license',
pattern: ':user/:repo',
}
}
@@ -27,7 +28,12 @@ module.exports = class GithubLicense extends LegacyService {
return [
{
title: 'GitHub',
previewUrl: 'mashape/apistatus',
namedParams: { user: 'mashape', repo: 'apistatus' },
staticExample: {
label: 'license',
message: 'MIT',
color: 'green',
},
keywords: ['GitHub', 'license'],
documentation,
},