Skip to content

Releases: fardad-dev/swagger-typescript

Support Postman

Choose a tag to compare

@fardad-dev fardad-dev released this 12 Aug 18:22

Generate code from postman collection
Full Changelog: v6.2.2...v6.3.0

Support multi git branches (git flow)

Choose a tag to compare

@fardad-dev fardad-dev released this 09 Jul 12:04

Generate react hooks for apis

Choose a tag to compare

@fardad-dev fardad-dev released this 11 Oct 20:58

I excited to tell we know generating hooks for APIs for example:
A get endpoint
/user/info
will be useGetUserInfo you can use it like this

const {data,isLoading,error} = useGetUserInfo()

Generate mock data

Choose a tag to compare

@fardad-dev fardad-dev released this 05 Mar 16:58
  • Generate mock data
  • Add few items to description of service and types

swagger v2 supported

Choose a tag to compare

@fardad-dev fardad-dev released this 27 Jan 17:17
v4.6.0

chore(release): 4.6.0

Handle FromData types

Choose a tag to compare

@fardad-dev fardad-dev released this 27 Jan 17:18
v4.5.0

chore(release): 4.5.0

Security

Choose a tag to compare

@fardad-dev fardad-dev released this 23 Oct 15:48

Security is exported from swagger.json and you can access that on all requests, you can use that to specify authentication.

474bda1

Axios Interceptor

Choose a tag to compare

@fardad-dev fardad-dev released this 23 Oct 11:41

In this release we changed config.ts to use Axios interceptor for customization.
If you are using v3 or below, read how to migrate to v4.

Thanks @tbowmo

Support javascript

Choose a tag to compare

@fardad-dev fardad-dev released this 24 Sep 15:55

For format to JavaScript you should edit the language in swagger.config.json

{
...
"language": "javascript"
}