Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Overlay tweaks

Kabir Oberaic856b8d0eccd
diff --git a/Package.swift b/Package.swift
index 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",
diff --git a/Sources/DeveloperAPI/openapi-overlay.yaml b/Sources/DeveloperAPI/openapi-overlay.yaml
index 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]