Skip to content

Commit 76d42a6

Browse files
authored
Correct typos in generated fixtures (#277)
1 parent aea798c commit 76d42a6

8 files changed

+13
-13
lines changed

‎Specs/TFL/generated/Swift/Sources/Requests/Line/LineLineRoutesByIds.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension TFL.Line {
1212

1313
public static let service = APIService<Response>(id: "Line_LineRoutesByIds", tag: "Line", method: "GET", path: "/Line/{ids}/Route", hasBody: false, securityRequirements: [])
1414

15-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
15+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
1616
public enum ServiceTypes: String, Codable, Equatable, CaseIterable {
1717
case regular = "Regular"
1818
case night = "Night"
@@ -25,7 +25,7 @@ extension TFL.Line {
2525
/** A comma-separated list of line ids e.g. victoria,circle,N133. Max. approx. 20 ids. */
2626
public var ids: [String]
2727

28-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
28+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
2929
public var serviceTypes: [ServiceTypes]?
3030

3131
public init(ids: [String], serviceTypes: [ServiceTypes]? = nil) {

‎Specs/TFL/generated/Swift/Sources/Requests/Line/LineRoute.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension TFL.Line {
1212

1313
public static let service = APIService<Response>(id: "Line_Route", tag: "Line", method: "GET", path: "/Line/Route", hasBody: false, securityRequirements: [])
1414

15-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
15+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
1616
public enum ServiceTypes: String, Codable, Equatable, CaseIterable {
1717
case regular = "Regular"
1818
case night = "Night"
@@ -22,7 +22,7 @@ extension TFL.Line {
2222

2323
public struct Options {
2424

25-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
25+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
2626
public var serviceTypes: [ServiceTypes]?
2727

2828
public init(serviceTypes: [ServiceTypes]? = nil) {

‎Specs/TFL/generated/Swift/Sources/Requests/Line/LineRouteByMode.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension TFL.Line {
1212

1313
public static let service = APIService<Response>(id: "Line_RouteByMode", tag: "Line", method: "GET", path: "/Line/Mode/{modes}/Route", hasBody: false, securityRequirements: [])
1414

15-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
15+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
1616
public enum ServiceTypes: String, Codable, Equatable, CaseIterable {
1717
case regular = "Regular"
1818
case night = "Night"
@@ -25,7 +25,7 @@ extension TFL.Line {
2525
/** A comma-separated list of modes e.g. tube,dlr */
2626
public var modes: [String]
2727

28-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
28+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
2929
public var serviceTypes: [ServiceTypes]?
3030

3131
public init(modes: [String], serviceTypes: [ServiceTypes]? = nil) {

‎Specs/TFL/generated/Swift/Sources/Requests/Line/LineRouteSequence.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extension TFL.Line {
1919
case all = "all"
2020
}
2121

22-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
22+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
2323
public enum ServiceTypes: String, Codable, Equatable, CaseIterable {
2424
case regular = "Regular"
2525
case night = "Night"
@@ -35,7 +35,7 @@ extension TFL.Line {
3535
/** The direction of travel. Can be inbound or outbound. */
3636
public var direction: Direction
3737

38-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
38+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
3939
public var serviceTypes: [ServiceTypes]?
4040

4141
/** That excludes crowding from line disruptions. Can be true or false. */

‎Specs/TFL/generated/Swift/Sources/Requests/Line/LineSearch.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ extension TFL.Line {
1212

1313
public static let service = APIService<Response>(id: "Line_Search", tag: "Line", method: "GET", path: "/Line/Search/{query}", hasBody: false, securityRequirements: [])
1414

15-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
15+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
1616
public enum ServiceTypes: String, Codable, Equatable, CaseIterable {
1717
case regular = "Regular"
1818
case night = "Night"
@@ -28,7 +28,7 @@ extension TFL.Line {
2828
/** Optionally filter by the specified modes */
2929
public var modes: [String]?
3030

31-
/** A comma seperated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
31+
/** A comma separated list of service types to filter on. Supported values: Regular, Night. Defaulted to 'Regular' if not specified */
3232
public var serviceTypes: [ServiceTypes]?
3333

3434
public init(query: String, modes: [String]? = nil, serviceTypes: [ServiceTypes]? = nil) {

‎Specs/TFL/generated/Swift/Sources/Requests/StopPoint/StopPointDisruption.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extension TFL.StopPoint {
1616

1717
public struct Options {
1818

19-
/** A comma-seperated list of stop point ids. Max. approx. 20 ids.
19+
/** A comma-separated list of stop point ids. Max. approx. 20 ids.
2020
You can use /StopPoint/Search/{query} endpoint to find a stop point id from a station name. */
2121
public var ids: [String]
2222

‎Specs/TFL/generated/Swift/Sources/Requests/StopPoint/StopPointDisruptionByMode.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extension TFL.StopPoint {
1616

1717
public struct Options {
1818

19-
/** A comma-seperated list of modes e.g. tube,dlr */
19+
/** A comma-separated list of modes e.g. tube,dlr */
2020
public var modes: [String]
2121

2222
public var includeRouteBlockedStops: Bool?

‎Specs/TFL/generated/Swift/Sources/Requests/StopPoint/StopPointGetByMode.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extension TFL.StopPoint {
1616

1717
public struct Options {
1818

19-
/** A comma-seperated list of modes e.g. tube,dlr */
19+
/** A comma-separated list of modes e.g. tube,dlr */
2020
public var modes: [String]
2121

2222
/** The data set page to return. Page 1 equates to the first 1000 stop points, page 2 equates to 1001-2000 etc. Must be entered for bus mode as data set is too large. */

0 commit comments

Comments
 (0)