Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ibm-cloud/openapi-ruleset

Package Overview
Dependencies
Maintainers
13
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ibm-cloud/openapi-ruleset - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

coverage/lcov-report/src/functions/property-case-convention.js.html

7

CHANGELOG.md

@@ -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 @@

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc