Merge pull request #3390 from nestjs/fix/support-raw-array-of-objects Apr 11, 2025 .commitlintrc.json feat(): add commitlint hook Jan 25, 2020 .gitignore auto generate description from comments Aug 5, 2020 .npmignore feat(@nestjs/swagger): use default name for jest config Aug 20, 2020...
*/ raw?: boolean | Array<'json' | 'yaml'>; /** * Url point the API definition to load in Swagger UI. */ swaggerUrl?: string; /** * Path of the JSON API definition to serve. * Default: `<path>-json`. */ jsonDocumentUrl?: string; /** * Path of the YAML API definition...
}Minimum reproduction codehttps://github.com/nestjs/swagger/issues/new?assignees=&labels=needs+triage%2Cbug&template=Bug_report.ymlSteps to reproduceNo responseExpected behaviorits should accept array of container object that is [{ name:"test name", value:"test value" } ]...
问与其他dto一起上传nestjs+ swagger文件EN1. 单文件上传 1. 模板文件 <!-- csrf为egg所提供的安全...
In the version 7 major release of@nestjs/terminus, a new simplified API has been introduced to run health checks. The previously required peer dependency@godaddy/terminushas been removed, which allows us to integrate our health checks automatically into Swagger! Read more about the removal of@god...
if you use the@nestjs/graphqlpackage seethis chapter. Both packages heavily rely on types and so they require a different import to be used. Therefore, if you used@nestjs/mapped-types(instead of an appropriate one, either@nestjs/swaggeror@nestjs/graphqldepending on the type of your app)...
Therefore, if you used @nestjs/mapped-types (instead of an appropriate one, either @nestjs/swagger or @nestjs/graphql depending on the type of your app), you may face various, undocumented side-effects. When building input validation types (also called DTOs), it's often useful to build...
Nest.js 从零到壹系列(七):讨厌写文档,Swagger UI 了解一下? main.ts 中引入,并设置一些基本信息即可: // src/main.ts import { NestFactory } from '@nestjs/core'; import { AppModule...: string | number; } 保存,刷新页面(该页面没有热加载功能),再看看效果: 看到已经有了字段信息了,但是我们...
// all the other configextends:["plugin:@moneteam/nestjs/recommended","plugin:@moneteam/nestjs/no-swagger"],// more config Disable a single rule with the full name e.g. in your eslint configuration... rules: { "@moneteam/nestjs/api-property-returning-array-should-set-array": ...
The query builder is available for all endpoints that return an array of objects. You can use the query builder to filter, sort, and paginate the results. We are using the nestjs-pipes library for the query builder. Example of a query builder request: GET /user/?where=firstName:John ...