mirror of
https://github.com/strapi/strapi.git
synced 2025-07-13 12:02:10 +00:00
49 lines
1.0 KiB
JavaScript
49 lines
1.0 KiB
JavaScript
![]() |
'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: [],
|
||
|
},
|
||
|
],
|
||
|
};
|