-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
124 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
'use strict'; | ||
const os = require('os'); | ||
|
||
// Assuming by default that we run in 'development' environment, if no | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,24 @@ | ||
'use strict'; | ||
const config = require('../config'); | ||
const serverInfo = require('./info.js'); | ||
|
||
module.exports = { | ||
info: { | ||
info: { | ||
// API informations (required) | ||
title: serverInfo.name, // Title (required) | ||
version: serverInfo.version, // Version (required) | ||
description: serverInfo.description, // Description (optional) | ||
termsOfService: "https://my.aegee.eu/legal/simple", | ||
license: { | ||
name: "Apache 2.0", | ||
url: "http://www.apache.org/licenses/LICENSE-2.0.html" | ||
title: serverInfo.name, // Title (required) | ||
version: serverInfo.version, // Version (required) | ||
description: serverInfo.description, // Description (optional) | ||
termsOfService: 'https://my.aegee.eu/legal/simple', | ||
license: { | ||
name: 'Apache 2.0', | ||
url: 'http://www.apache.org/licenses/LICENSE-2.0.html' | ||
} | ||
}, | ||
// host, // Host (optional) -- automatically taken who's serving this docs | ||
apis: ['middlewares/*.js'], // where are the files with the comments | ||
basePath: config.basePath, // Base path (optional) | ||
schemes: ['http'], | ||
externalDocs: { | ||
description: 'Find out more about MyAEGEE', | ||
url: 'https://myaegee.atlassian.net/wiki/spaces/GENERAL/overview' | ||
} | ||
}, | ||
// host, // Host (optional) -- automatically taken who's serving this docs | ||
apis: ['middlewares/*.js'], // where are the files with the comments | ||
basePath: config.basePath, // Base path (optional) | ||
schemes: ['http'], | ||
externalDocs: { | ||
description: "Find out more about MyAEGEE", | ||
url: "https://myaegee.atlassian.net/wiki/spaces/GENERAL/overview" | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.