@ibm-cloud/openapi-ruleset
Advanced tools
Comparing version 0.4.0 to 0.5.0
@@ -0,1 +1,8 @@ | ||
# @ibm-cloud/openapi-ruleset [0.5.0](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@0.4.0...@ibm-cloud/openapi-ruleset@0.5.0) (2022-02-15) | ||
### Features | ||
* **new rule:** property names must be snake case (property-case-convention) ([364ef90](https://github.com/IBM/openapi-validator/commit/364ef90ac588d36cde8a54e44c610d0a3f74ca95)) | ||
# @ibm-cloud/openapi-ruleset [0.4.0](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@0.3.0...@ibm-cloud/openapi-ruleset@0.4.0) (2022-02-15) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@ibm-cloud/openapi-ruleset", | ||
"description": "Spectral ruleset for validating IBM Cloud services", | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -6,2 +6,3 @@ const arrayOfArrays = require('./array-of-arrays'); | ||
const errorResponseSchema = require('./error-response-schema'); | ||
const propertyCaseConvention = require('./property-case-convention'); | ||
const requiredProperty = require('./required-property'); | ||
@@ -20,2 +21,3 @@ const responseExampleProvided = require('./response-example-provided'); | ||
errorResponseSchema, | ||
propertyCaseConvention, | ||
requiredProperty, | ||
@@ -22,0 +24,0 @@ responseExampleProvided, |
@@ -105,2 +105,3 @@ const { oas3 } = require('@stoplight/spectral-formats'); | ||
'prohibit-summary-sentence-style': ibmRules.prohibitSummarySentenceStyle, | ||
'property-case-convention': ibmRules.propertyCaseConvention, | ||
'request-body-object': ibmRules.requestBodyObject, | ||
@@ -107,0 +108,0 @@ 'response-error-response-schema': ibmRules.responseErrorResponseSchema, |
@@ -14,2 +14,3 @@ const arrayOfArrays = require('./array-of-arrays'); | ||
const prohibitSummarySentenceStyle = require('./prohibit-summary-sentence-style'); | ||
const propertyCaseConvention = require('./property-case-convention'); | ||
const requestBodyObject = require('./request-body-object'); | ||
@@ -37,2 +38,3 @@ const responseErrorResponseSchema = require('./response-error-response-schema'); | ||
prohibitSummarySentenceStyle, | ||
propertyCaseConvention, | ||
requestBodyObject, | ||
@@ -39,0 +41,0 @@ responseErrorResponseSchema, |
@@ -174,2 +174,7 @@ module.exports = { | ||
$ref: '#/components/schemas/NormalString' | ||
}, | ||
running_time: { | ||
type: 'integer', | ||
format: 'int32', | ||
description: 'The length of the movie, in minutes.' | ||
} | ||
@@ -179,3 +184,4 @@ }, | ||
name: 'The Two Towers', | ||
director: 'Peter Jackson' | ||
director: 'Peter Jackson', | ||
running_time: 179 | ||
} | ||
@@ -182,0 +188,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
782351
136
6780