Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
import authorizationUrlFormatURILint from './authorization-url--format-uri';
import authorizationUrlRequiredLint from './authorization-url--required';
import tokenUrlFormatURILint from './token-url--format-uri';
import tokenUrlRequiredLint from './token-url--required';
import refreshUrlFormatURILint from './refresh-url--format-uri';
import scopesTypeLint from './scopes--type';
import scopesRequiredLint from './scopes--required';
import allowedFieldsLint from './allowed-fields';

const lints = [
authorizationUrlFormatURILint,
authorizationUrlRequiredLint,
tokenUrlFormatURILint,
tokenUrlRequiredLint,
refreshUrlFormatURILint,
scopesTypeLint,
scopesRequiredLint,
allowedFieldsLint,
];

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ const completion: ApidomCompletionItem[] = [
documentation: {
kind: 'markdown',
value:
'#### [OAuth Flows Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oauthFlowsObject)\\n\\nApplies to `oauth2`. **REQUIRED**. An object containing configuration information for the flow types supported.',
'[OAuth Flows Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oauthFlowsObject)\n\\\nnApplies to `oauth2`. **REQUIRED**. An object containing configuration information for the flow types supported.',
},
targetSpecs: [
{ namespace: 'openapi', version: '3.0.0' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const documentation = [
},
{
target: 'flows',
docs: '#### [OAuth Flows Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oauthFlowsObject)\\n\\nApplies to `oauth2`. **REQUIRED**. An object containing configuration information for the flow types supported.',
docs: '[OAuth Flows Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#oauthFlowsObject)\n\\\nApplies to `oauth2`. **REQUIRED**. An object containing configuration information for the flow types supported.',
targetSpecs: [
{ namespace: 'openapi', version: '3.0.0' },
{ namespace: 'openapi', version: '3.0.1' },
Expand All @@ -46,7 +46,7 @@ const documentation = [
},
{
target: 'flows',
docs: '#### [OAuth Flows Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#oauthFlowsObject)\\n\\nApplies to `oauth2`. **REQUIRED**. An object containing configuration information for the flow types supported.',
docs: '[OAuth Flows Object](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#oauthFlowsObject)\n\\\nApplies to `oauth2`. **REQUIRED**. An object containing configuration information for the flow types supported.',
targetSpecs: [{ namespace: 'openapi', version: '3.1.0' }],
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const flowsTypeLint: LinterMeta = {
message: 'flows must be an object',
severity: 1,
linterFunction: 'apilintElementOrClass',
linterParams: ['flows'],
linterParams: ['oAuthFlows'],
marker: 'value',
target: 'flows',
data: {},
Expand Down