-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: local file path update in specs
- Loading branch information
1 parent
33707b9
commit 40b92ac
Showing
4 changed files
with
67 additions
and
12 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
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
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
45 changes: 45 additions & 0 deletions
45
packages/@ama-sdk/schematics/testing/mocks/split-spec/spec-with-updated-paths.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,45 @@ | ||
openapi: 3.0.2 | ||
info: | ||
description: test | ||
title: test | ||
version: 0.0.0 | ||
paths: | ||
/test: | ||
get: | ||
responses: | ||
'200': | ||
description: test | ||
content: | ||
application/json: | ||
schema: | ||
$ref: './output-local-directory/split-spec/spec-chunk1.yaml' | ||
/test2: | ||
get: | ||
responses: | ||
'200': | ||
description: test | ||
content: | ||
application/json: | ||
schema: | ||
$ref: './output-local-directory/spec-chunk2.yaml' | ||
/test3: | ||
get: | ||
responses: | ||
'200': | ||
description: test | ||
content: | ||
application/json: | ||
schema: | ||
$ref: './output-local-directory/spec-chunk3/spec-chunk3.yaml' | ||
components: | ||
schemas: | ||
Category: | ||
type: object | ||
properties: | ||
id: | ||
type: integer | ||
format: int64 | ||
example: 10 | ||
name: | ||
type: string | ||
example: "test" |