Skip to content

Commit

Permalink
fix: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
v8tenko committed Feb 6, 2024
1 parent d4d0a99 commit 740e901
Show file tree
Hide file tree
Showing 9 changed files with 970 additions and 204 deletions.
60 changes: 50 additions & 10 deletions src/__snapshots__/basic.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,31 @@ Base 200 response
{% endcut %}
#||| **Name** | **Type** | **Description** ||
|| type | string | ||
|| foo | string | |||#
#|||
**Name**
|
**Type**
|
**Description**
||
||
type
|
string
|
||
||
foo
|
string
|
|||#
</div>
Expand All @@ -79,11 +99,31 @@ Base 200 response
{% endcut %}
#||| **Name** | **Type** | **Description** ||
|| type | string | ||
|| bar | string | |||#
#|||
**Name**
|
**Type**
|
**Description**
||
||
type
|
string
|
||
||
bar
|
string
|
|||#
</div>
<!-- markdownlint-disable-file -->
Expand Down
147 changes: 123 additions & 24 deletions src/__snapshots__/combiners/allOf.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,40 @@ Generated server url{.openapi__request__description}
{% endcut %}
#||| **Name** | **Type** | **Description** ||
|| type | string | ||
|| foo | string | ||
|| name | string | |||#
#|||
**Name**
|
**Type**
|
**Description**
||
||
type
|
string
|
||
||
foo
|
string
|
||
||
name
|
string
|
|||#
## Responses
Expand All @@ -74,13 +101,39 @@ Base 200 response
{% endcut %}
#||| **Name** | **Type** | **Description** ||
|| name | string | <span style="color:gray;">Default</span>: \`a\` ||
|| type | string | ||
|| baz | string | |||#
#|||
**Name**
|
**Type**
|
**Description**
||
||
name
|
string
|
<span style="color:gray;">Default</span>: \`a\`
||
||
type
|
string
|
||
||
baz
|
string
|
|||#
</div>
<!-- markdownlint-disable-file -->
Expand Down Expand Up @@ -131,19 +184,52 @@ Generated server url{.openapi__request__description}
{% endcut %}
#||| **Name** | **Type** | **Description** ||
#|||
**Name**
|
**Type**
|
**Description**
||
|| pet | [Cat](#cat) | Cat class |||#
||
pet
|
[Cat](#cat)
|
Cat class
|||#
### Cat
Cat class
#||| **Name** | **Type** | **Description** ||
|| type | string | ||
|| foo | string | |||#
#|||
**Name**
|
**Type**
|
**Description**
||
||
type
|
string
|
||
||
foo
|
string
|
|||#
## Responses
Expand Down Expand Up @@ -171,9 +257,22 @@ Base 200 response
{% endcut %}
#||| **Name** | **Type** | **Description** ||
|| pet | [Cat](#cat) | Cat class |||#
#|||
**Name**
|
**Type**
|
**Description**
||
||
pet
|
[Cat](#cat)
|
Cat class
|||#
</div>
<!-- markdownlint-disable-file -->
Expand Down
Loading

0 comments on commit 740e901

Please sign in to comment.