Skip to content

Commit

Permalink
Updated decoding of objects in object model. Fixed issues with Tests.
Browse files Browse the repository at this point in the history
`images`, `available_markets` can not only be null, but have null elements. `name` can be `null`/missing for most objects. `type` can be corrupted for most objects. Fixed issues with tests.
  • Loading branch information
Peter-Schorn committed May 4, 2024
1 parent 97c0184 commit 0761e97
Show file tree
Hide file tree
Showing 31 changed files with 596 additions and 804 deletions.
16 changes: 6 additions & 10 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// swift-tools-version:5.5
// swift-tools-version:5.6

import PackageDescription

let package = Package(
name: "SpotifyAPI",
platforms: [
.iOS(.v13), .macOS(.v10_15), .tvOS(.v13), .watchOS(.v6)
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6)
],
products: [
.library(
Expand Down Expand Up @@ -71,24 +74,20 @@ var packageDependencies: [Package.Dependency] {

var dependencies: [Package.Dependency] = [
.package(
name: "RegularExpressions",
url: "https://github.com/Peter-Schorn/RegularExpressions.git",
from: "2.2.0"
),
.package(
name: "swift-log",
url: "https://github.com/apple/swift-log.git",
from: "1.4.0"
),
.package(
name: "OpenCombine",
url: "https://github.com/OpenCombine/OpenCombine.git",
from: "0.12.0"
),
.package(
name: "swift-crypto",
url: "https://github.com/apple/swift-crypto.git",
from: "1.1.3"
from: "3.0.0"
),
.package(
url: "https://github.com/apple/swift-docc-plugin",
Expand All @@ -99,17 +98,14 @@ var packageDependencies: [Package.Dependency] {
#if TEST
dependencies += [
.package(
name: "vapor",
url: "https://github.com/vapor/vapor.git",
from: "4.45.3"
),
.package(
name: "swift-nio",
url: "https://github.com/apple/swift-nio.git",
from: "2.27.0"
),
.package(
name: "async-http-client",
url: "https://github.com/swift-server/async-http-client.git",
from: "1.2.5"
)
Expand Down
145 changes: 0 additions & 145 deletions [email protected]

This file was deleted.

145 changes: 0 additions & 145 deletions [email protected]

This file was deleted.

Loading

0 comments on commit 0761e97

Please sign in to comment.