swagger-axios-codegen icon indicating copy to clipboard operation
swagger-axios-codegen copied to clipboard

swagger client to use axios and typescript

Results 9 swagger-axios-codegen issues
Sort by recently updated
recently updated
newest added

We have a couple of APIs for uploading documents, that in our swagger look like, e.g.: ``` "/v1/validateFile": { "post": { "operationId": "validateFile", "consumes": [ "text/plain" ], "produces": [ "application/json"...

enhancement

In my case the codegen is generating the following class code: ``` ts export class LookupItemVm { 'id'?: string; 'name'?: string; 'description'?: string; constructor(data: undefined | any = {}) {...

Hi there, We have found a problem concerning nullable fields which lead into more problems, if we are using `required`, `readOnly` and `nullabel` in combination. To keep the possibility as...

Currently, all responses are automatically resolved to axios.response.data, however, sometimes it is useful to have the wrapping **AxiosResponse**: ```typescript export interface AxiosResponse { data: T; status: number; statusText: string; headers:...

enhancement

An idea for filtering build methods, that filter requests by simply using app or web pages or other specific clients. In .NET Server like this, add a new attribute ###...

Discussion

The JSON Swagger file looks like it should work according the the spec and I dug down into the code and I think the issue is in `mapFormDataToV2` (or one...

Converts plain (literal) object to class (constructor) object. Also works with arrays. @deprecated — Function name changed, use the plainToInstance method instead. ![image](https://user-images.githubusercontent.com/16963395/206927931-bf48ef45-486b-44b9-8fcd-87053d8f9c08.png)

Sometimes I get new order of the path parameters in the generated client. Is there a way around to keep the order strict so that I won't pass the wrong...