MCPcopy
hub / github.com/nestjs/swagger / setTitle

Method setTitle

lib/document-builder.ts:25–28  ·  view source on GitHub ↗
(title: string)

Source from the content-addressed store, hash-verified

23 private readonly document: Omit<OpenAPIObject, 'paths'> = buildDocumentBase();
24
25 public setTitle(title: string): this {
26 this.document.info.title = title;
27 return this;
28 }
29
30 public setDescription(description: string): this {
31 this.document.info.description = description;

Callers 5

bootstrapFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected