Releases: acacode/swagger-typescript-api
Releases · acacode/swagger-typescript-api
1.7.2 release
1.7.0 release
Breaking Changes:
- Remove
title
andversion
public Api class properties (moved it to Api class JSDOC)(fixes this issue)
- Move out all http client handlers/properties into
HttpClient
local class in module
Chore:
- default value for
SecurityDataType
Api class generic type
1.6.3 release
Fixes:
- Handling of nullable for $ref in OpenAPI 3.0 (issue)
Plus based on this issue was fixed most other problems with usingrequired
andnullable
properties
1.6.2 release
Fixes:
- Nullable not included in type definition (issue)
Internal:
- Update
swagger2openapi
(6.0.0
) dependency
1.6.1 release
Internal:
- Update
prettier
(2.0.2
),swagger2openapi
(5.4.0
) dependencies
1.6.0 release
Features:
- Improvenment in optional request params (request body, query params, path params)
Fixes:
- Fix bug when
path
request param have the same name asquery
(#28) - Fix bug when
path
request param have the same name asparams
Minor/Internal:
- changed
addQueryParams()
method - up
swagger2openapi
dependency version to5.3.4
1.5.0 release
1.4.1 release
1.4.0 release
Breaking Changes:
- Rename default typescript output api file name (prev
api.ts
, nowApi.ts
)
Features:
-d, --default-as-success
option. Allows to use "default" status codes as success response type-r, --responses
option. Response declarations in request rescription
This option adds comments of the possible responses from request
Also typings for.catch()
callback
- Improve response body type definitions
- Types for bad responses
Changes:
1.3.0 release
Features:
- Api module description from schema info
- Generate API type declarations (CLI flag
--route-types
) - Ability to not generate clint API class (CLI flag
--no-client
)
Fixes:
- Improve response body type definition