-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(apidom-ls): path template match parameter object lint
- Loading branch information
1 parent
30df7c8
commit 678e3c0
Showing
3 changed files
with
123 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
packages/apidom-ls/test/fixtures/validation/oas/path-template-all-defined.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
openapi: 3.0.0 | ||
info: | ||
title: Foo | ||
version: 0.1.0 | ||
paths: | ||
/foo/bar/{baz}/test/{foo_id}/baz/{bar_id}: | ||
delete: | ||
summary: Delete foo bar baz | ||
operationId: >- | ||
deleteFooBarBaz | ||
parameters: | ||
- name: foo_id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
format: uuid | ||
title: Foo Id | ||
- name: bar_id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
format: uuid | ||
title: Bar Id | ||
responses: | ||
'200': | ||
description: Successful Response | ||
content: | ||
application/json: | ||
schema: {} | ||
/test/{foo_id}/{bar_id}: | ||
get: | ||
summary: Get test foo bar | ||
operationId: >- | ||
getTestFooBar | ||
parameters: | ||
- name: foo_id | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
format: uuid | ||
title: Foo Id | ||
responses: | ||
'200': | ||
description: Successful Response | ||
content: | ||
application/json: | ||
schema: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters