Skip to content

Commit

Permalink
Deploying from phrase/openapi@c7670e04
Browse files Browse the repository at this point in the history
  • Loading branch information
Phrase committed Dec 20, 2024
1 parent e049e18 commit a68701f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 48 deletions.
1 change: 0 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ src/models/ReleaseUpdateParameters1.ts
src/models/RepliesListParameters.ts
src/models/RepoSync.ts
src/models/RepoSyncEvent.ts
src/models/RepoSyncEventErrorsInner.ts
src/models/Screenshot.ts
src/models/ScreenshotMarker.ts
src/models/ScreenshotMarkerCreateParameters.ts
Expand Down
15 changes: 4 additions & 11 deletions src/models/RepoSyncEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,6 @@
*/

import { exists, mapValues } from '../runtime';
import {
RepoSyncEventErrorsInner,
RepoSyncEventErrorsInnerFromJSON,
RepoSyncEventErrorsInnerFromJSONTyped,
RepoSyncEventErrorsInnerToJSON,
} from './';

/**
*
* @export
Expand Down Expand Up @@ -63,10 +56,10 @@ export interface RepoSyncEvent {
autoImport?: boolean;
/**
* List of error messages, in case of failure
* @type {Array<RepoSyncEventErrorsInner>}
* @type {Array<string>}
* @memberof RepoSyncEvent
*/
errors?: Array<RepoSyncEventErrorsInner>;
errors?: Array<string>;
}

export function RepoSyncEventFromJSON(json: any): RepoSyncEvent {
Expand All @@ -85,7 +78,7 @@ export function RepoSyncEventFromJSONTyped(json: any, ignoreDiscriminator: boole
'status': !exists(json, 'status') ? undefined : json['status'],
'pullRequestUrl': !exists(json, 'pull_request_url') ? undefined : json['pull_request_url'],
'autoImport': !exists(json, 'auto_import') ? undefined : json['auto_import'],
'errors': !exists(json, 'errors') ? undefined : ((json['errors'] as Array<any>).map(RepoSyncEventErrorsInnerFromJSON)),
'errors': !exists(json, 'errors') ? undefined : json['errors'],
};
}

Expand All @@ -104,7 +97,7 @@ export function RepoSyncEventToJSON(value?: RepoSyncEvent | null): any {
'status': value.status,
'pull_request_url': value.pullRequestUrl,
'auto_import': value.autoImport,
'errors': value.errors === undefined ? undefined : ((value.errors as Array<any>).map(RepoSyncEventErrorsInnerToJSON)),
'errors': value.errors,
};
}

Expand Down
35 changes: 0 additions & 35 deletions src/models/RepoSyncEventErrorsInner.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export * from './ReleaseUpdateParameters1';
export * from './RepliesListParameters';
export * from './RepoSync';
export * from './RepoSyncEvent';
export * from './RepoSyncEventErrorsInner';
export * from './Screenshot';
export * from './ScreenshotMarker';
export * from './ScreenshotMarkerCreateParameters';
Expand Down

0 comments on commit a68701f

Please sign in to comment.