// Copyright Abridged, Inc. 2023,2024. All Rights Reserved. // Node module: @collabland/sdk // This file is licensed under the MIT License. // License text available at https://opensource.org/license/mit/ import {model, property} from '@loopback/repository'; /** * The model class is generated from OpenAPI schema - ApiEndpoint * ApiEndpoint */ @model({name: 'ApiEndpoint'}) export class ApiEndpoint { constructor(data?: Partial) { if (data != null && typeof data === 'object') { Object.assign(this, data); } } /** * */ @property({ jsonSchema: { type: 'string', }, }) controller?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) method?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) verb?: string; /** * */ @property({ jsonSchema: { type: 'string', }, }) path?: string; /** * */ @property.array(String, { jsonSchema: { type: 'array', items: { type: 'string', }, }, }) tags?: string[]; } export interface ApiEndpointRelations { // describe navigational properties here } export type ApiEndpointWithRelations = ApiEndpoint & ApiEndpointRelations;