Skip to content

Commit 38988a5

Browse files
committed
chore(rulesets): rename to oas3-server-variables
1 parent 07c8663 commit 38988a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/rulesets/src/oas/__tests__/openapi-server-variables.test.ts renamed to packages/rulesets/src/oas/__tests__/oas3-server-variables.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DiagnosticSeverity } from '@stoplight/types';
22
import testRule from './__helpers__/tester';
33

4-
testRule('openapi-server-variables', [
4+
testRule('oas3-server-variables', [
55
{
66
name: 'valid case',
77
document: {

packages/rulesets/src/oas/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ const ruleset = {
692692
function: oasUnusedComponent,
693693
},
694694
},
695-
'openapi-server-variables': {
695+
'oas3-server-variables': {
696696
description: 'Server variables must be defined and valid and there must be no redundant variables.',
697697
message: '{{error}}',
698698
severity: 0,

0 commit comments

Comments
 (0)