@ibm-cloud/openapi-ruleset
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -0,1 +1,8 @@ | ||
# @ibm-cloud/openapi-ruleset [0.11.0](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@0.10.0...@ibm-cloud/openapi-ruleset@0.11.0) (2022-04-12) | ||
### Features | ||
* **unused-tag:** add unused-tag rule ([#418](https://github.com/IBM/openapi-validator/issues/418)) ([a065b61](https://github.com/IBM/openapi-validator/commit/a065b61e9300a169bb64c5747d66ff34ac88d41a)) | ||
# @ibm-cloud/openapi-ruleset [0.10.0](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@0.9.0...@ibm-cloud/openapi-ruleset@0.10.0) (2022-04-11) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@ibm-cloud/openapi-ruleset", | ||
"description": "Spectral ruleset for validating IBM Cloud services", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -23,2 +23,3 @@ const arrayOfArrays = require('./array-of-arrays'); | ||
const stringBoundary = require('./string-boundary'); | ||
const { unusedTag } = require('./unused-tag'); | ||
const validTypeFormat = require('./valid-type-format'); | ||
@@ -49,3 +50,4 @@ | ||
securitySchemes, | ||
unusedTag, | ||
validTypeFormat | ||
}; |
@@ -126,4 +126,5 @@ const { oas3 } = require('@stoplight/spectral-formats'); | ||
'string-boundary': ibmRules.stringBoundary, | ||
'unused-tag': ibmRules.unusedTag, | ||
'valid-type-format': ibmRules.validTypeFormat | ||
} | ||
}; |
@@ -34,2 +34,3 @@ const acceptParameter = require('./accept-parameter'); | ||
const stringBoundary = require('./string-boundary'); | ||
const unusedTag = require('./unused-tag'); | ||
const validTypeFormat = require('./valid-type-format'); | ||
@@ -71,3 +72,4 @@ | ||
stringBoundary, | ||
unusedTag, | ||
validTypeFormat | ||
}; |
@@ -21,2 +21,8 @@ module.exports = { | ||
], | ||
tags: [ | ||
{ | ||
name: 'TestTag', | ||
description: 'A tag used for testing.' | ||
} | ||
], | ||
paths: { | ||
@@ -28,2 +34,3 @@ '/v1/drinks': { | ||
description: 'Create a new Drink instance.', | ||
tags: ['TestTag'], | ||
security: [ | ||
@@ -81,2 +88,3 @@ { | ||
description: 'Retrieve all the drinks.', | ||
tags: ['TestTag'], | ||
security: [ | ||
@@ -159,2 +167,3 @@ { | ||
description: 'Retrieve and consume a refreshing beverage.', | ||
tags: ['TestTag'], | ||
security: [ | ||
@@ -210,2 +219,3 @@ { | ||
description: 'Create a new Movie instance.', | ||
tags: ['TestTag'], | ||
security: [ | ||
@@ -264,2 +274,3 @@ { | ||
'Retrieve a list of movies using an optional genre qualifier.', | ||
tags: ['TestTag'], | ||
security: [ | ||
@@ -266,0 +277,0 @@ { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
365986
122
10719