49 lines
1.0 KiB
JavaScript
Raw Normal View History

2021-08-19 16:49:33 +02:00
'use strict';
module.exports = {
openapi: '3.0.0',
info: {
version: '1.0.0',
title: 'DOCUMENTATION',
description: '',
termsOfService: 'YOUR_TERMS_OF_SERVICE_URL',
contact: {
name: 'TEAM',
email: 'contact-email@something.io',
url: 'mywebsite.io',
},
license: {
name: 'Apache 2.0',
url: 'https://www.apache.org/licenses/LICENSE-2.0.html',
},
},
'x-strapi-config': {
path: '/documentation',
showGeneratedFiles: true,
generateDefaultResponse: true,
},
servers: [
{
url: 'http://localhost:1337',
description: 'Development server',
},
{
url: 'YOUR_STAGING_SERVER',
description: 'Staging server',
},
{
url: 'YOUR_PRODUCTION_SERVER',
description: 'Production server',
},
],
externalDocs: {
description: 'Find out more',
url: 'https://strapi.io/documentation/developer-docs/latest/getting-started/introduction.html',
},
security: [
{
bearerAuth: [],
},
],
};