Skip to content

Commit

Permalink
fix: update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
zorox112 authored and v8tenko committed Oct 21, 2024
1 parent 4bb3490 commit 566ea7d
Show file tree
Hide file tree
Showing 16 changed files with 88 additions and 84 deletions.
6 changes: 3 additions & 3 deletions src/__snapshots__/basic.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`basic openapi project renders description 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand Down Expand Up @@ -43,7 +43,7 @@ Base 200 response
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"type": "string",
"foo": "string"
Expand Down Expand Up @@ -89,7 +89,7 @@ Base 200 response
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"type": "string",
"bar": "string"
Expand Down
12 changes: 6 additions & 6 deletions src/__snapshots__/combiners/allOf.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`allOf operator support renders simple allOf 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -35,7 +35,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"type": "string",
"foo": "string",
Expand Down Expand Up @@ -88,7 +88,7 @@ Base 200 response
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"type": "string",
"baz": "string"
Expand Down Expand Up @@ -154,7 +154,7 @@ exports[`allOf operator support renders single allOf 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -175,7 +175,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"pet": {
"type": "string",
Expand Down Expand Up @@ -245,7 +245,7 @@ Base 200 response
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"pet": {
"type": "string",
Expand Down
6 changes: 3 additions & 3 deletions src/__snapshots__/combiners/complex.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`operators complex test renders ok 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -35,7 +35,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"name": "b",
"age": {
Expand Down Expand Up @@ -158,7 +158,7 @@ Base 200 response
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"name": "b",
"age": {
Expand Down
18 changes: 9 additions & 9 deletions src/__snapshots__/combiners/oneOf.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`oneOf operator support renders empty 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -35,7 +35,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"type": "string",
"baz": "string"
Expand Down Expand Up @@ -135,7 +135,7 @@ Cat class
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"type": "string",
"baz": "string"
Expand Down Expand Up @@ -194,7 +194,7 @@ exports[`oneOf operator support renders filled 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -215,7 +215,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"name": "string",
"age": 0,
Expand Down Expand Up @@ -329,7 +329,7 @@ Cat class
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"name": "string",
"age": 0,
Expand Down Expand Up @@ -402,7 +402,7 @@ exports[`oneOf operator support renders parameter 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -423,7 +423,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"pet": {
"type": "string",
Expand Down Expand Up @@ -534,7 +534,7 @@ Cat class
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"pet": {
"type": "string",
Expand Down
10 changes: 5 additions & 5 deletions src/__snapshots__/constraints/default.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`Default value constraints should process default constraints specified
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand Down Expand Up @@ -60,7 +60,7 @@ Amount of search results to show<br>
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{}
\`\`\`
Expand Down Expand Up @@ -94,7 +94,7 @@ exports[`Default value constraints should process default constraints specified
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -115,7 +115,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"role": "basic",
"name": "Anonymous",
Expand Down Expand Up @@ -197,7 +197,7 @@ Role for the user being created
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{}
\`\`\`
Expand Down
4 changes: 2 additions & 2 deletions src/__snapshots__/constraints/length.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`length renders correct length limits 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -41,7 +41,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"pet": {
"name": "string",
Expand Down
4 changes: 2 additions & 2 deletions src/__snapshots__/description.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ exports[`description renders correct description 1`] = `
<div class="openapi__request">
POST {.openapi__method}
\`\`\`
\`\`\`text translate=no
http://localhost:8080/test
\`\`\`
Expand All @@ -41,7 +41,7 @@ Generated server url
{% cut "application/json" %}
\`\`\`json
\`\`\`json translate=no
{
"pet": {
"type": "string",
Expand Down
Loading

0 comments on commit 566ea7d

Please sign in to comment.