generated from stijnvanhulle/template
-
-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Chaim Lev-Ari
committed
Dec 18, 2023
1 parent
c8d4ead
commit ad84671
Showing
11 changed files
with
317 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
definitions: | ||
enumVarNames.Type: | ||
enum: | ||
- 0 | ||
- 1 | ||
type: integer | ||
x-enum-varnames: | ||
- Pending | ||
- Received | ||
enumNames.Type: | ||
enum: | ||
- 0 | ||
- 1 | ||
x-enumNames: | ||
- Pending | ||
- Received | ||
swagger: "2.0" | ||
info: | ||
title: test | ||
version: "1.0.0" | ||
paths: | ||
/var-names: | ||
get: | ||
consumes: | ||
- application/json | ||
responses: | ||
200: | ||
description: Success | ||
schema: | ||
$ref: '#/definitions/enumVarNames.Type' | ||
/names: | ||
get: | ||
consumes: | ||
- application/json | ||
responses: | ||
200: | ||
description: Success | ||
schema: | ||
$ref: '#/definitions/enumNames.Type' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
definitions: | ||
enumVarNames.Type: | ||
enum: | ||
- 0 | ||
- 1 | ||
type: integer | ||
x-enum-varnames: | ||
- Pending | ||
- Received | ||
enumNames.Type: | ||
enum: | ||
- 0 | ||
- 1 | ||
x-enumNames: | ||
- Pending | ||
- Received | ||
swagger: "2.0" | ||
info: | ||
title: test | ||
version: "1.0.0" | ||
paths: | ||
/var-names: | ||
get: | ||
consumes: | ||
- application/json | ||
responses: | ||
200: | ||
description: Success | ||
schema: | ||
$ref: '#/definitions/enumVarNames.Type' | ||
/names: | ||
get: | ||
consumes: | ||
- application/json | ||
responses: | ||
200: | ||
description: Success | ||
schema: | ||
$ref: '#/definitions/enumNames.Type' |
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
23 changes: 23 additions & 0 deletions
23
packages/swagger-ts/src/__snapshots__/TypeGenerator.test.ts.snap
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
definitions: | ||
enumVarNames.Type: | ||
enum: | ||
- 0 | ||
- 1 | ||
type: integer | ||
x-enum-varnames: | ||
- Pending | ||
- Received | ||
enumNames.Type: | ||
enum: | ||
- 0 | ||
- 1 | ||
x-enumNames: | ||
- Pending | ||
- Received | ||
swagger: "2.0" | ||
info: | ||
title: test | ||
version: "1.0.0" | ||
paths: | ||
/var-names: | ||
get: | ||
consumes: | ||
- application/json | ||
responses: | ||
200: | ||
description: Success | ||
schema: | ||
$ref: '#/definitions/enumVarNames.Type' | ||
/names: | ||
get: | ||
consumes: | ||
- application/json | ||
responses: | ||
200: | ||
description: Success | ||
schema: | ||
$ref: '#/definitions/enumNames.Type' |
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
Oops, something went wrong.