Skip to content

Commit

Permalink
fix: restore functionality to display default values for endpoint par…
Browse files Browse the repository at this point in the history
…ameters
  • Loading branch information
brotheroftux committed Jun 27, 2024
1 parent 3fc2cc7 commit cc177e1
Show file tree
Hide file tree
Showing 17 changed files with 343 additions and 268 deletions.
20 changes: 4 additions & 16 deletions src/__snapshots__/basic.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,13 @@ Base 200 response
||
foo
|
**Type:** string
**Type:** string
||
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand Down Expand Up @@ -115,19 +109,13 @@ Base 200 response
||
bar
|
**Type:** string
**Type:** string
||
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand Down
41 changes: 9 additions & 32 deletions src/__snapshots__/combiners/allOf.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -56,28 +56,19 @@ Generated server url
||
foo
|
**Type:** string
**Type:** string
||
||
name
|
**Type:** string
**Type:** string
||
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand Down Expand Up @@ -117,10 +108,7 @@ Base 200 response
||
baz
|
**Type:** string
**Type:** string
||
||
Expand All @@ -134,10 +122,7 @@ Base 200 response
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand Down Expand Up @@ -207,8 +192,7 @@ Generated server url
|
**Type:** [Cat](#cat)
Cat class
Cat class
|||#
</div>
Expand All @@ -228,19 +212,13 @@ Cat class
||
foo
|
**Type:** string
**Type:** string
||
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand Down Expand Up @@ -284,8 +262,7 @@ Base 200 response
|
**Type:** [Cat](#cat)
Cat class
Cat class
|||#
</div>
Expand Down
30 changes: 6 additions & 24 deletions src/__snapshots__/combiners/complex.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ Generated server url
||
age
|
**Type:** any
**Type:** any
||
||
Expand Down Expand Up @@ -106,19 +103,13 @@ Dog class
||
bar
|
**Type:** string
**Type:** string
||
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand All @@ -138,19 +129,13 @@ Cat class
||
foo
|
**Type:** string
**Type:** string
||
||
type
|
**Type:** string
**Type:** string
|||#
</div>
Expand Down Expand Up @@ -194,10 +179,7 @@ Base 200 response
||
age
|
**Type:** any
**Type:** any
||
||
Expand Down
Loading

0 comments on commit cc177e1

Please sign in to comment.