Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 363 Bytes

File metadata and controls

12 lines (10 loc) · 363 Bytes

only-valid-mime-types

By default this rule is checking the mime types specified in consumes and produces properties in SwaggerObject and OperationObject. Verification happens against the mime-db.

// swaggerlint.config.js
module.exports = {
    rules: {
        'only-valid-mime-types': true,
    },
};