Closed rojiwon123 closed 1 year ago
Swagger allows only components.schemas
property.
I'll update both typia
and nestia
soon.
Maybe an hour would be consumed.
Upgrade 1.3.1, then be fixed.
Wait an hour more please, not completely fixed.
@industriously Upgrade to v1.3.2, then clearly be fixed.
@nestia/sdk version
description
swagger editor throw error message
It seems that the "nestia" library has undergone an update where the "schemas" property in Swagger has been changed to "objects," and an "aliases" property has been added. However, this change is causing an error in the Swagger editor.
In previous versions, the "schemas" property contained all the DTO (Data Transfer Object) information, and union-type DTOs used the "oneof" property instead of the "$ref" property. Currently, the "aliases" property is being generated at the bottom of the swagger.json file, and it refers to the schemas defined here.