Skip to content

Commit

Permalink
fix: updating out of date snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Aug 1, 2024
1 parent 8bf865a commit ab2a025
Show file tree
Hide file tree
Showing 130 changed files with 182 additions and 875 deletions.
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/metrotransit/src/schemas/Agency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const Agency = {
"properties": {
"agency_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"agency_name": {
"type": [
Expand Down
12 changes: 3 additions & 9 deletions packages/test-utils/sdks/metrotransit/src/schemas/Departure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ const Departure = {
},
"stop_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"departure_text": {
"type": [
Expand All @@ -24,9 +22,7 @@ const Departure = {
},
"departure_time": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"description": {
"type": [
Expand Down Expand Up @@ -54,9 +50,7 @@ const Departure = {
},
"direction_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"direction_text": {
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const Direction = {
"properties": {
"direction_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"direction_name": {
"type": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ const GetNextripRouteIdDirectionIdPlaceCode = {
"direction_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647,
"$schema": "http://json-schema.org/draft-04/schema#"
},
"place_code": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const GetNextripStopId = {
"stop_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647,
"$schema": "http://json-schema.org/draft-04/schema#"
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ const GetNextripStopsRouteIdDirectionId = {
"direction_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647,
"$schema": "http://json-schema.org/draft-04/schema#"
}
},
Expand Down
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/metrotransit/src/schemas/Route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ const Route = {
},
"agency_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"route_label": {
"type": [
Expand Down
12 changes: 3 additions & 9 deletions packages/test-utils/sdks/metrotransit/src/schemas/Stop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,15 @@ const Stop = {
"properties": {
"stop_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"latitude": {
"type": "number",
"format": "double",
"minimum": -1.7976931348623157e+308,
"maximum": 1.7976931348623157e+308
"format": "double"
},
"longitude": {
"type": "number",
"format": "double",
"minimum": -1.7976931348623157e+308,
"maximum": 1.7976931348623157e+308
"format": "double"
},
"description": {
"type": [
Expand Down
28 changes: 7 additions & 21 deletions packages/test-utils/sdks/metrotransit/src/schemas/Vehicle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ const Vehicle = {
},
"direction_id": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"direction": {
"type": [
Expand All @@ -21,9 +19,7 @@ const Vehicle = {
},
"location_time": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"route_id": {
"type": [
Expand All @@ -39,33 +35,23 @@ const Vehicle = {
},
"latitude": {
"type": "number",
"format": "float",
"minimum": -3.402823669209385e+38,
"maximum": 3.402823669209385e+38
"format": "float"
},
"longitude": {
"type": "number",
"format": "float",
"minimum": -3.402823669209385e+38,
"maximum": 3.402823669209385e+38
"format": "float"
},
"bearing": {
"type": "number",
"format": "float",
"minimum": -3.402823669209385e+38,
"maximum": 3.402823669209385e+38
"format": "float"
},
"odometer": {
"type": "number",
"format": "double",
"minimum": -1.7976931348623157e+308,
"maximum": 1.7976931348623157e+308
"format": "double"
},
"speed": {
"type": "number",
"format": "float",
"minimum": -3.402823669209385e+38,
"maximum": 3.402823669209385e+38
"format": "float"
}
},
"additionalProperties": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ const UpdatePetWithForm = {
"petId": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000,
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "ID of pet that needs to be updated"
}
Expand Down
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/petstore/src/schemas/ApiResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const ApiResponse = {
"properties": {
"code": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"type": {
"type": "string"
Expand Down
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/petstore/src/schemas/Category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const Category = {
"properties": {
"id": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"name": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const DeleteOrder = {
"type": "integer",
"format": "int64",
"minimum": 1,
"maximum": 9223372036854776000,
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "ID of the order that needs to be deleted"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/test-utils/sdks/petstore/src/schemas/DeletePet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const DeletePet = {
"petId": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000,
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Pet id to delete"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ const FindPetsByStatus = {
"pending",
"sold"
],
"default": "available",
"description": "Default: available"
"default": "available"
},
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "Status values that need to be considered for filter"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ const GetInventory = {
"type": "object",
"additionalProperties": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"$schema": "http://json-schema.org/draft-04/schema#"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/test-utils/sdks/petstore/src/schemas/GetPetById.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ const GetPetById = {
"petId": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000,
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "ID of pet to return"
}
Expand Down
12 changes: 3 additions & 9 deletions packages/test-utils/sdks/petstore/src/schemas/Order.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,15 @@ const Order = {
"properties": {
"id": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"petId": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"quantity": {
"type": "integer",
"format": "int32",
"minimum": -2147483648,
"maximum": 2147483647
"format": "int32"
},
"shipDate": {
"type": "string",
Expand Down
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/petstore/src/schemas/Pet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ const Pet = {
"default": 40,
"examples": [
25
],
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
]
},
"category": Category,
"name": {
Expand Down
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/petstore/src/schemas/Tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const Tag = {
"properties": {
"id": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"name": {
"type": "string"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ const UpdatePetWithForm = {
"petId": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000,
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "ID of pet that needs to be updated"
}
Expand Down
2 changes: 0 additions & 2 deletions packages/test-utils/sdks/petstore/src/schemas/UploadFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const UploadFile = {
"petId": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000,
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "ID of pet to update"
}
Expand Down
8 changes: 2 additions & 6 deletions packages/test-utils/sdks/petstore/src/schemas/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const User = {
"properties": {
"id": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"username": {
"type": "string"
Expand All @@ -28,9 +26,7 @@ const User = {
"userStatus": {
"type": "integer",
"format": "int32",
"description": "User Status",
"minimum": -2147483648,
"maximum": 2147483647
"description": "User Status"
}
},
"title": "User",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/sdks/readme/src/schemas/Apply.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Apply = {
},
"job": {
"type": "string",
"description": "The job you're looking to apply for (https://readme.com/careers).\n\nDefault: `Front End Engineer`",
"description": "The job you're looking to apply for (https://readme.com/careers).",
"enum": [
"Front End Engineer",
"Full Stack Engineer",
Expand Down
2 changes: 1 addition & 1 deletion packages/test-utils/sdks/readme/src/schemas/Category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const Category = {
"guide"
],
"default": "guide",
"description": "A category can be part of your reference or guide documentation, which is determined by this field.\n\nDefault: `guide`"
"description": "A category can be part of your reference or guide documentation, which is determined by this field."
}
}
} as const;
Expand Down
3 changes: 1 addition & 2 deletions packages/test-utils/sdks/readme/src/schemas/Changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ const Changelog = {
"improved",
"deprecated",
"removed"
],
"description": "Default: "
]
},
"body": {
"type": "string",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ const GetAnything = {
"pending",
"sold"
],
"default": "available",
"description": "Default: available"
"default": "available"
},
"$schema": "https://json-schema.org/draft/2020-12/schema#",
"description": "Status values that need to be considered for filter"
Expand Down
4 changes: 1 addition & 3 deletions packages/test-utils/sdks/simple/src/schemas/Category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ const Category = {
"properties": {
"id": {
"type": "integer",
"format": "int64",
"minimum": -9223372036854776000,
"maximum": 9223372036854776000
"format": "int64"
},
"name": {
"type": "string"
Expand Down
Loading

0 comments on commit ab2a025

Please sign in to comment.