v3.11.1
Boosted up @nestia/sdk
performance by entirely re-making, building time of Swagger Document and SDK library has been reduced.
Also, @nestia/sdk
has started supporting multiple SDK libraries and Swagger Documents generations.
You can configure multiple INestiaConfig
typed instances in the nestia.config.ts
file.
import { INestiaConfig } from "@nestia/sdk";
import { NestFactory } from "@nestjs/core";
import { AppModule } from "./src/modules/AppModule";
import { BbsModule } from "./src/modules/BbsModule";
import { CommonModule } from "./src/modules/CommonModule";
export const NESTIA_CONFIGURATIONS: INestiaConfig[] = [
{
input: () => NestFactory.create(AppModule),
openai: {
output: "openai.json",
keyword: true,
},
},
{
input: () => NestFactory.create(BbsModule),
openai: {
output: "bbs.openai.json",
keyword: true,
},
},
{
input: () => NestFactory.create(CommonModule),
openai: {
output: "common.openai.json",
keyword: false,
},
},
];
export default NESTIA_CONFIGURATIONS;
https://nestia.io/docs/sdk/swagger/#multiple-files-generation
What's Changed
- Developing #980: to boost up
@nestia/sdk
performance. by @samchon in #982 - Allow multiple configurations in a file. by @samchon in #985
- Fix a little bit weird equal comparison. by @samchon in #986
- Fix request body content type bug of SDK library. by @samchon in #987
- Bump up
@nestia/migrate
embedded NestJS/Nestia versions. by @samchon in #988 - Introduce multiple swagger files generation mode in the document. by @samchon in #990
- Test programs' re-compilations by @samchon in #989
- Explain how
@TypedException()
has been changed. by @samchon in #991
Full Changelog: v3.10.0...v3.11.1