orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺
In the .msw file, it generates the following:
export const getGetApiTenantsTenantIdResponseMock = (): TenantCompositeDto => ({...enabled: faker.datatype.boolean(),
What were you expecting to happen?
In the .msw file, it generated the following:
export const getGetApiTenantsTenantIdResponseMock = (): TenantCompositeDto => ({enabled: faker.datatype.boolean(),
What are the steps to reproduce this issue?
YAML Path
YAML Schema
What happens?
In the .msw file, it generates the following:
export const getGetApiTenantsTenantIdResponseMock = (): TenantCompositeDto => ({...enabled: faker.datatype.boolean(),
What were you expecting to happen?
In the .msw file, it generated the following:
export const getGetApiTenantsTenantIdResponseMock = (): TenantCompositeDto => ({enabled: faker.datatype.boolean(),
What versions are you using?
7.2.0