Evolved SDK generator to utilize the compiler API.
Until v2.4, @nestia/sdk
had generated SDK library through string concat hard coding. There had not been critical problem, but such string concat based hard coding was hard to maintaining whenever new features are newly suggested. Therefore, I've decided to entirely re-make the @nestia/sdk
to utilize the compiler API based on AST (Abstract Syntax Tree), and I did it.
Also, SDK libraries generated by @nestia/sdk
are automatically formatted by prettier
with 2 spaces tab option.
Additionally, @nestia/migrate
has started supporting standalone SDK library and Mockup simulator generation.
What's Changed
- Close #769 - SDK library generation through compiler API by @samchon in #770
ObjectLiteralExpression
for non-named object types. by @samchon in #772- Also use compiler API in
@nestia/migrate
. by @samchon in #773 - Allow implicit type when cloning mode. by @samchon in #774
- Close #682 - SDK generation from Swagger Documents by @samchon in #775
- Revive
@assignHeaders()
and@setHeader()
tags. by @samchon in #776
Full Changelog: v2.4.7...v2.5.1