2022-06-21 09:12:40 +02:00
|
|
|
import { applicationSchema } from './application-schema';
|
|
|
|
import { FromSchema } from 'json-schema-to-ts';
|
|
|
|
|
|
|
|
export const applicationsSchema = {
|
|
|
|
$id: '#/components/schemas/applicationsSchema',
|
2023-04-26 12:10:57 +02:00
|
|
|
additionalProperties: false,
|
2022-06-21 09:12:40 +02:00
|
|
|
type: 'object',
|
|
|
|
properties: {
|
|
|
|
applications: {
|
2023-04-26 12:10:57 +02:00
|
|
|
description:
|
|
|
|
'Contains a list of applications that have connected via an SDK',
|
2022-06-21 09:12:40 +02:00
|
|
|
type: 'array',
|
|
|
|
items: {
|
|
|
|
$ref: '#/components/schemas/applicationSchema',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
schemas: {
|
|
|
|
applicationSchema,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
} as const;
|
|
|
|
|
|
|
|
export type ApplicationsSchema = FromSchema<typeof applicationsSchema>;
|