Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix notes #40

Merged
merged 2 commits into from
Feb 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading