@ibm-cloud/openapi-ruleset
Advanced tools
Comparing version 0.11.1 to 0.12.0
@@ -0,1 +1,8 @@ | ||
# @ibm-cloud/openapi-ruleset [0.12.0](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@0.11.1...@ibm-cloud/openapi-ruleset@0.12.0) (2022-04-13) | ||
### Features | ||
* **request-body-name:** add new request-body-name rule ([#419](https://github.com/IBM/openapi-validator/issues/419)) ([4494537](https://github.com/IBM/openapi-validator/commit/44945375d208dca023161610a260e9b6d668320a)) | ||
## @ibm-cloud/openapi-ruleset [0.11.1](https://github.com/IBM/openapi-validator/compare/@ibm-cloud/openapi-ruleset@0.11.0...@ibm-cloud/openapi-ruleset@0.11.1) (2022-04-13) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@ibm-cloud/openapi-ruleset", | ||
"description": "Spectral ruleset for validating IBM Cloud services", | ||
"version": "0.11.1", | ||
"version": "0.12.0", | ||
"license": "Apache-2.0", | ||
@@ -6,0 +6,0 @@ "private": false, |
@@ -17,2 +17,3 @@ const arrayOfArrays = require('./array-of-arrays'); | ||
const propertyInconsistentNameAndType = require('./property-inconsistent-name-and-type'); | ||
const requestBodyName = require('./request-body-name'); | ||
const requiredProperty = require('./required-property'); | ||
@@ -44,2 +45,3 @@ const responseExampleProvided = require('./response-example-provided'); | ||
propertyInconsistentNameAndType, | ||
requestBodyName, | ||
requiredProperty, | ||
@@ -46,0 +48,0 @@ responseExampleProvided, |
@@ -119,2 +119,3 @@ const { oas3 } = require('@stoplight/spectral-formats'); | ||
ibmRules.propertyInconsistentNameAndType, | ||
'request-body-name': ibmRules.requestBodyName, | ||
'request-body-object': ibmRules.requestBodyObject, | ||
@@ -121,0 +122,0 @@ 'response-error-response-schema': ibmRules.responseErrorResponseSchema, |
@@ -27,2 +27,3 @@ const acceptParameter = require('./accept-parameter'); | ||
const propertyInconsistentNameAndType = require('./property-inconsistent-name-and-type'); | ||
const requestBodyName = require('./request-body-name'); | ||
const requestBodyObject = require('./request-body-object'); | ||
@@ -65,2 +66,3 @@ const responseErrorResponseSchema = require('./response-error-response-schema'); | ||
propertyInconsistentNameAndType, | ||
requestBodyName, | ||
requestBodyObject, | ||
@@ -67,0 +69,0 @@ responseErrorResponseSchema, |
const checkCompositeSchemaForConstraint = require('./check-composite-schema-for-constraint'); | ||
const checkCompositeSchemaForProperty = require('./check-composite-schema-for-property'); | ||
const isDeprecated = require('./is-deprecated'); | ||
const isFormMimeType = require('./is-form-mimetype'); | ||
const isJsonMimeType = require('./is-json-mimetype'); | ||
const isObject = require('./is-object'); | ||
@@ -14,2 +16,4 @@ const isSdkExcluded = require('./is-sdk-excluded'); | ||
isDeprecated, | ||
isFormMimeType, | ||
isJsonMimeType, | ||
isObject, | ||
@@ -16,0 +20,0 @@ isSdkExcluded, |
@@ -39,2 +39,3 @@ module.exports = { | ||
], | ||
'x-codegen-request-body-name': 'drink', | ||
requestBody: { | ||
@@ -41,0 +42,0 @@ content: { |
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
384838
129
11199