Skip to content

Releases: fardad-dev/swagger-typescript

Support Postman

12 Aug 18:22

Choose a tag to compare

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

Support multi git branches (git flow)

09 Jul 12:04

Choose a tag to compare

Generate react hooks for apis

11 Oct 20:58

Choose a tag to compare

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

05 Mar 16:58

Choose a tag to compare

  • Generate mock data
  • Add few items to description of service and types

swagger v2 supported

27 Jan 17:17

Choose a tag to compare

v4.6.0

chore(release): 4.6.0

Handle FromData types

27 Jan 17:18

Choose a tag to compare

v4.5.0

chore(release): 4.5.0

Security

23 Oct 15:48

Choose a tag to compare

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

474bda1

Axios Interceptor

23 Oct 11:41

Choose a tag to compare

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

24 Sep 15:55

Choose a tag to compare

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

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