Options for validateSwaggerDocument() function.

interface IValidateSwaggerDocumentOptions {
    allowDuplicateOperationIds?: Nilable<boolean>;
    allowNoOperationIds?: Nilable<boolean>;
    controllerMethods?: Nilable<IControllerMethodInfo[]>;
    documentation: Document<{}>;
}

Properties

allowDuplicateOperationIds?: Nilable<boolean>

Allow to reuse IDs for Swagger operations.

Default

false

allowNoOperationIds?: Nilable<boolean>

Allow operations to have no IDs.

Default

false

controllerMethods?: Nilable<IControllerMethodInfo[]>

Controller methods.

documentation: Document<{}>

The document(ation).

Type declaration

    Generated using TypeDoc