-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cli): Add
in-lined
test case to no-duplicate-overrides.test.ts
(
#5561) * fix(cli): Add `in-lined` test case to `no-duplicate-overrides.test.ts` * us
- Loading branch information
Showing
5 changed files
with
104 additions
and
4 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
4 changes: 4 additions & 0 deletions
4
...ss-validator/src/rules/no-duplicate-overrides/__test__/fixtures/in-lined/fern.config.json
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,4 @@ | ||
{ | ||
"organization": "twelvelabs", | ||
"version": "0.44.11" | ||
} |
3 changes: 3 additions & 0 deletions
3
.../oss-validator/src/rules/no-duplicate-overrides/__test__/fixtures/in-lined/generators.yml
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,3 @@ | ||
api: | ||
specs: | ||
- openapi: ./openapi/openapi.yml |
55 changes: 55 additions & 0 deletions
55
...validator/src/rules/no-duplicate-overrides/__test__/fixtures/in-lined/openapi/openapi.yml
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,55 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: Sample API | ||
version: 1.0.0 | ||
paths: | ||
/a/{alpha}: | ||
post: | ||
x-fern-sdk-group-name: | ||
- a | ||
x-fern-sdk-method-name: b | ||
summary: Test summary | ||
description: Test description | ||
parameters: | ||
- name: alpha | ||
in: path | ||
required: true | ||
schema: | ||
type: string | ||
operationId: operation-id-a | ||
requestBody: | ||
description: Request body containing beta | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: string | ||
responses: | ||
'201': | ||
description: Resource created successfully | ||
content: | ||
application/json: | ||
schema: | ||
type: string | ||
|
||
/a/b: | ||
get: | ||
x-fern-sdk-group-name: | ||
- a | ||
x-fern-sdk-method-name: b | ||
summary: Test summary | ||
description: Test description | ||
parameters: | ||
- name: alpha | ||
in: query | ||
required: true | ||
schema: | ||
type: string | ||
operationId: operation-id-b | ||
responses: | ||
'200': | ||
description: Successful retrieval | ||
content: | ||
application/json: | ||
schema: | ||
type: string |
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