Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
<PackageVersion Include="Moq" Version="4.20.72" />
<PackageVersion Include="MyToolkit" Version="2.5.16" />
<PackageVersion Include="MyToolkit.Extended" Version="2.5.16" />
<PackageVersion Include="Namotion.Reflection" Version="3.4.2" />
<PackageVersion Include="Namotion.Reflection" Version="3.4.3" />
<PackageVersion Include="NConsole" Version="3.12.6605.26941" />
<PackageVersion Include="Newtonsoft.Json" Version="13.0.3" />
<PackageVersion Include="NJsonSchema" Version="11.4.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration" Version="11.4.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration.CSharp" Version="11.4.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.4.0" />
<PackageVersion Include="NJsonSchema.NewtonsoftJson" Version="11.4.0" />
<PackageVersion Include="NJsonSchema.Yaml" Version="11.4.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration" Version="11.5.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration.CSharp" Version="11.5.0" />
<PackageVersion Include="NJsonSchema.CodeGeneration.TypeScript" Version="11.5.0" />
<PackageVersion Include="NJsonSchema.NewtonsoftJson" Version="11.5.0" />
<PackageVersion Include="NJsonSchema.Yaml" Version="11.5.0" />
<PackageVersion Include="System.Runtime.Loader" Version="4.0.0" />
<PackageVersion Include="Verify.XunitV3" Version="30.5.0" />
<PackageVersion Include="xunit.v3" Version="3.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public async Task When_query_parameter_is_enum_array_then_the_enum_is_referenced
{
Template = TypeScriptTemplate.JQueryCallbacks
};
clientSettings.TypeScriptGeneratorSettings.TypeScriptVersion = 1.8m;

var gen = new TypeScriptClientGenerator(document, clientSettings);
var code = gen.GenerateFile();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class MyClass {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface FileResponse {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface FileResponse {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface FileResponse {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface FileResponse {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export interface FileParameter {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export interface Address {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ export interface ITwoFactorResponse {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export interface IFoo {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export interface IFoo {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ export class SessionStateResent extends SportsbookEventBody implements ISessionS
super(data);
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
}

static fromJS(data: any): SessionStateResent {
static override fromJS(data: any): SessionStateResent {
data = typeof data === 'object' ? data : {};
let result = new SessionStateResent();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
super.toJSON(data);
return data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61062,7 +61062,7 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
this._discriminator = "FieldIdIdentifier";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -61073,14 +61073,14 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
}
}

static fromJS(data: any): FieldIdIdentifier {
static override fromJS(data: any): FieldIdIdentifier {
data = typeof data === 'object' ? data : {};
let result = new FieldIdIdentifier();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -85009,7 +85009,7 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
this._discriminator = "ProjectIdAssociationContext";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -85020,14 +85020,14 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
}
}

static fromJS(data: any): ProjectIdAssociationContext {
static override fromJS(data: any): ProjectIdAssociationContext {
data = typeof data === 'object' ? data : {};
let result = new ProjectIdAssociationContext();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -104944,7 +104944,7 @@ function formatDate(d: Date) {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56357,7 +56357,7 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
this._discriminator = "FieldIdIdentifier";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -56368,14 +56368,14 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
}
}

static fromJS(data: any): FieldIdIdentifier {
static override fromJS(data: any): FieldIdIdentifier {
data = typeof data === 'object' ? data : {};
let result = new FieldIdIdentifier();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -80304,7 +80304,7 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
this._discriminator = "ProjectIdAssociationContext";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -80315,14 +80315,14 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
}
}

static fromJS(data: any): ProjectIdAssociationContext {
static override fromJS(data: any): ProjectIdAssociationContext {
data = typeof data === 'object' ? data : {};
let result = new ProjectIdAssociationContext();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -100239,7 +100239,7 @@ function formatDate(d: Date) {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52812,7 +52812,7 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
this._discriminator = "FieldIdIdentifier";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -52823,14 +52823,14 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
}
}

static fromJS(data: any): FieldIdIdentifier {
static override fromJS(data: any): FieldIdIdentifier {
data = typeof data === 'object' ? data : {};
let result = new FieldIdIdentifier();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -76759,7 +76759,7 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
this._discriminator = "ProjectIdAssociationContext";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -76770,14 +76770,14 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
}
}

static fromJS(data: any): ProjectIdAssociationContext {
static override fromJS(data: any): ProjectIdAssociationContext {
data = typeof data === 'object' ? data : {};
let result = new ProjectIdAssociationContext();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -96694,7 +96694,7 @@ function formatDate(d: Date) {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
/* eslint-disable */
// ReSharper disable InconsistentNaming

import axios, { AxiosError, AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';
import axios, { AxiosError } from 'axios';
import type { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios';

export class Client {
protected instance: AxiosInstance;
Expand Down Expand Up @@ -61081,7 +61082,7 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
this._discriminator = "FieldIdIdentifier";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -61092,14 +61093,14 @@ export class FieldIdIdentifier extends FieldIdentifierObject implements IFieldId
}
}

static fromJS(data: any): FieldIdIdentifier {
static override fromJS(data: any): FieldIdIdentifier {
data = typeof data === 'object' ? data : {};
let result = new FieldIdIdentifier();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -85028,7 +85029,7 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
this._discriminator = "ProjectIdAssociationContext";
}

init(_data?: any) {
override init(_data?: any) {
super.init(_data);
if (_data) {
for (var property in _data) {
Expand All @@ -85039,14 +85040,14 @@ export class ProjectIdAssociationContext extends AssociationContextObject implem
}
}

static fromJS(data: any): ProjectIdAssociationContext {
static override fromJS(data: any): ProjectIdAssociationContext {
data = typeof data === 'object' ? data : {};
let result = new ProjectIdAssociationContext();
result.init(data);
return result;
}

toJSON(data?: any) {
override toJSON(data?: any) {
data = typeof data === 'object' ? data : {};
for (var property in this) {
if (this.hasOwnProperty(property))
Expand Down Expand Up @@ -104963,7 +104964,7 @@ function formatDate(d: Date) {
}

export class ApiException extends Error {
message: string;
override message: string;
status: number;
response: string;
headers: { [key: string]: any; };
Expand Down
Loading
Loading