2915 rest api documentation (#3020)
* Init rest-api page * Add ugly form to fetch open api schema * Clean code * Make the form design more acceptable * Update doc * Use local storage * Update design * Add isLoading * Fix typo * Fix long lines * Code review returns * Remove staging and local url from servers
This commit is contained in:
@ -20,22 +20,10 @@ export const baseSchema = (frontBaseUrl: string): OpenAPIV3.Document => {
|
||||
},
|
||||
// Testing purposes
|
||||
servers: [
|
||||
{
|
||||
url: 'http://localhost:3000',
|
||||
description: 'Local Development',
|
||||
},
|
||||
{
|
||||
url: 'https://api-main.twenty.com/',
|
||||
description: 'Staging Development',
|
||||
},
|
||||
{
|
||||
url: 'https://api.twenty.com/',
|
||||
description: 'Production Development',
|
||||
},
|
||||
{
|
||||
url: '/',
|
||||
description: 'Current Host',
|
||||
},
|
||||
],
|
||||
components: {
|
||||
securitySchemes: {
|
||||
|
||||
Reference in New Issue
Block a user