Modern Apps git

← xtool.git

Overlay tweaks

Commit
c856b8d0eccd471444ab8a4df204b60a83568770
Author
Kabir Oberai <[email protected]>
When
2024-12-23 21:35 UTC (1 year ago)
Parents
ebaf4a1

Diff

Package.swift
diff --git a/Package.swift b/Package.swiftindex 9ee2f8b..310d730 100644--- a/Package.swift+++ b/Package.swift@@ -66,7 +66,7 @@ let package = Package(             dependencies: [                 .product(name: "OpenAPIRuntime", package: "swift-openapi-runtime"),             ],-            exclude: ["openapi-generator-config.yaml"]+            exclude: ["openapi-generator-config.yaml", "openapi-overlay.yaml"]         ),         .target(             name: "Supersign",
Sources/DeveloperAPI/openapi-overlay.yaml
diff --git a/Sources/DeveloperAPI/openapi-overlay.yaml b/Sources/DeveloperAPI/openapi-overlay.yamlindex 5200693..3de74c2 100644--- a/Sources/DeveloperAPI/openapi-overlay.yaml+++ b/Sources/DeveloperAPI/openapi-overlay.yaml@@ -3,27 +3,20 @@ info:   title: Overlay for App Store Connect API   version: 1.0.0 actions:-  - target: '$'+  - target: '$.components.schemas.BundleIdCapabilityCreateRequest.properties.data.properties.relationships'     update:-      components:-        schemas:-          BundleIdCapabilityCreateRequest:-            properties:-              data:-                properties:-                  relationships:-                    properties:-                      capability:-                        type: object-                        properties:-                          data:-                            type: object-                            properties:-                              type:-                                type: string-                                enum: [capabilities]-                              id:-                                "$ref": "#/components/schemas/CapabilityType"-                            required: [id, type]-                        required: [data]-                    required: [capability]+      properties:+        capability:+          type: object+          properties:+            data:+              type: object+              properties:+                type:+                  type: string+                  enum: [capabilities]+                id:+                  "$ref": "#/components/schemas/CapabilityType"+              required: [id, type]+          required: [data]+      required: [capability]