{"size": 756, "ext": "js", "max_stars_repo_path": "src/swagger-def.js", "max_stars_repo_name": "ssoper-usgs/wdfn-graph-server", "max_stars_repo_stars_event_min_datetime": "2020-06-16T13:54:07.000Z", "max_stars_repo_stars_event_max_datetime": "2021-02-23T22:06:04.000Z", "max_issues_repo_path": "src/swagger-def.js", "max_issues_repo_name": "ssoper-usgs/wdfn-graph-server", "max_issues_repo_issues_event_min_datetime": "2020-05-19T13:46:13.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-31T10:03:24.000Z", "max_forks_repo_path": "src/swagger-def.js", "max_forks_repo_name": "ssoper-usgs/wdfn-graph-server", "max_forks_repo_forks_event_min_datetime": "2020-05-18T13:54:06.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-20T17:53:51.000Z"}
{"max_stars_count": 2, "max_issues_count": 212, "max_forks_count": 4, "avg_line_length": 34.3636363636, "max_line_length": 81, "alphanum_fraction": 0.6058201058}
const {version} = require('../package.json');
//TODO: put environment constants in their own module so they can be shared
const PATH_CONTEXT = process.env.PATH_CONTEXT || '/api/graph-images';

module.exports = {
    openapi: '3.0.0',
    info: {
        title: 'USGS Water Data Graph Image Service',
        version: version,
        description: 'API provides services which return a graph image as a png',
        contact: {
            name: 'Water USGS Feedback',
            url: 'https://water.usgs.gov/contact/gsanswers'
        },
        license: {
            name: 'CC0 1.0 Universal Summary',
            url: 'https://creativecommons.org/publicdomain/zero/1.0/legalcode'
        }
    },
    basePath: PATH_CONTEXT,
    apis: ['src/app.js']
};