- Upgrade version
openapi3-ts
- Fix 'ICursor' value
index:number
assignment
- Extend 'ICursor' type with
index:number
value
- Decorator
Summary
becameCombinedDecorator
and allows append to controllers
- Export
getOpenAPIMetadata
fromcommon/functions
- Export
restoreReverseMetadata
andsaveReverseMetadata
fromkoa/functions
- Add debug information about mismatched
Endpoint
decorator
- Append
Promise
for return type ofNextFunction
- Increase
class-validator
,class-validator-jsonschema
and ``class-transformerversion.
openapi3-ts` placed to dependecies
- Improve
@Params
and@Headers
decorators: added support for data validation like@Body
and@Query
- Modified
@ComponentSchema
processing: added autodisplayName
call with default class name
- Fixed middlewares inheritances: replace constructor value for origin on extends
- Fixed
DelayRefStack
decorators processing
- Fixed
KoaContext
naming
- Fixed strange bug into
mergeOpenAPIHandlerMetadata
function - Minor files refactoring
- Added
AdditionalConverter
decorator
-
Added
DelayRefStack
decorator -
Improved controller inheritance process (added cascade controller parent search)
-
Added
toJSON
condition totoJSONSchema
function
- Added filter parameters with empty schemas
-
Added support for
ThisRef
andRouteRef
toPathParameters
andQueryParameters
decorators -
Added
@DisplayName
: to define special display name for schemas and api methods -
Added
@NoJSONSchema
: to prevent calltargetConstructorToSchema
for special classes
- Added support for
FwdRef
toUseNext
decorator
- Added
class-validator
,class-transformer
andclass-validator-jsonschema
to core dependecies - Refactored JSON-schema generation: OpenAPI build JSON-schemas itself
- Fixed critical bug with
@This
context definition
- Added
@QueryParameters
toaom/openapi
decorators - Marked
@Parameters
as deprecated - Improved
parameterId
generation: used only endpoint class and property name
- Fixed bug with endpoint metadata definition
- Fixed OpenApi summary and description processing
- Added
RouteRef
function - Fixed OpenApi generation processing
- Fixed bug with cursor context loss inside
nextSequences
function - Improved
Controller
processing: added tranfer node used middlewares
- Fixed bug inside
CombineSchemas
- Fixed bug inside openapi builder
- Decorator
@IsDefinition
renamed to@ComponentSchema
- Changed required attributes for openapi interfaces
- Removed unnecessary dependencies
- Added
readme.md
badges
- Added
@Controller
decorator - Added routes classes inheritance
- Added
@UseNext
decorator - Added openapi parametric context schema:
CursorRef
function
- Added Docusaurus manual
- Added lazy endpoints support
- Rewrited base code on Typescript
- Added
npm build
andnpm prepublish
commands
- Added
FwdRef
function - Added
changelog
toreadme.md