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.10.0 to 0.11.0

src/functions/unused-tag.js

7

CHANGELOG.md

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

2

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

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