Skip to content

Commit

Permalink
utoipa: Update snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Dec 19, 2024
1 parent 9022dba commit 19b158d
Showing 1 changed file with 34 additions and 141 deletions.
175 changes: 34 additions & 141 deletions src/snapshots/crates_io__openapi__tests__openapi_snapshot.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,7 @@ snapshot_kind: text
"name": "crate_name",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -43,10 +40,7 @@ snapshot_kind: text
"required": false,
"schema": {
"format": "int32",
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -57,10 +51,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -71,10 +62,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -83,10 +71,7 @@ snapshot_kind: text
"name": "seek",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
}
],
Expand Down Expand Up @@ -155,10 +140,7 @@ snapshot_kind: text
"name": "sort",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -169,10 +151,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -183,10 +162,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -195,10 +171,7 @@ snapshot_kind: text
"name": "seek",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
}
],
Expand Down Expand Up @@ -288,10 +261,7 @@ snapshot_kind: text
"name": "sort",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -300,15 +270,8 @@ snapshot_kind: text
"name": "q",
"required": false,
"schema": {
"oneOf": [
{
"type": "null"
},
{
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
]
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
},
{
Expand All @@ -318,10 +281,7 @@ snapshot_kind: text
"name": "include_yanked",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -330,15 +290,8 @@ snapshot_kind: text
"name": "category",
"required": false,
"schema": {
"oneOf": [
{
"type": "null"
},
{
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
]
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
},
{
Expand All @@ -347,15 +300,8 @@ snapshot_kind: text
"name": "all_keywords",
"required": false,
"schema": {
"oneOf": [
{
"type": "null"
},
{
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
]
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
},
{
Expand All @@ -364,15 +310,8 @@ snapshot_kind: text
"name": "keyword",
"required": false,
"schema": {
"oneOf": [
{
"type": "null"
},
{
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
]
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
},
{
Expand All @@ -381,15 +320,8 @@ snapshot_kind: text
"name": "letter",
"required": false,
"schema": {
"oneOf": [
{
"type": "null"
},
{
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
]
"description": "A string that does not contain null bytes (`\\0`).",
"type": "string"
}
},
{
Expand All @@ -399,10 +331,7 @@ snapshot_kind: text
"required": false,
"schema": {
"format": "int32",
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -412,10 +341,7 @@ snapshot_kind: text
"required": false,
"schema": {
"format": "int32",
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -425,10 +351,7 @@ snapshot_kind: text
"name": "following",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -452,10 +375,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -466,10 +386,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -478,10 +395,7 @@ snapshot_kind: text
"name": "seek",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
}
],
Expand Down Expand Up @@ -567,10 +481,7 @@ snapshot_kind: text
"name": "include",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
}
],
Expand Down Expand Up @@ -849,10 +760,7 @@ snapshot_kind: text
"name": "include",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -861,10 +769,7 @@ snapshot_kind: text
"name": "sort",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
},
{
Expand All @@ -875,10 +780,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -889,10 +791,7 @@ snapshot_kind: text
"schema": {
"format": "int32",
"minimum": 1,
"type": [
"integer",
"null"
]
"type": "integer"
}
},
{
Expand All @@ -901,10 +800,7 @@ snapshot_kind: text
"name": "seek",
"required": false,
"schema": {
"type": [
"string",
"null"
]
"type": "string"
}
}
],
Expand Down Expand Up @@ -1129,10 +1025,7 @@ snapshot_kind: text
"required": false,
"schema": {
"format": "date",
"type": [
"string",
"null"
]
"type": "string"
}
}
],
Expand Down

0 comments on commit 19b158d

Please sign in to comment.