mirror of
https://github.com/xtool-org/xtool.git
synced 2026-02-04 11:53:30 +01:00
- Add `BundleIdPlatform.macos` (potential fix for #64) - Fix deprecation warnings - Improve overlay organization
43 lines
1.5 KiB
YAML
43 lines
1.5 KiB
YAML
overlay: 1.0.0
|
|
info:
|
|
title: Overlay for App Store Connect API
|
|
version: 1.0.0
|
|
actions:
|
|
# this field is required when using the private Xcode API
|
|
- target: '$.components.schemas.BundleIdCapabilityCreateRequest.properties.data.properties.relationships'
|
|
update:
|
|
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]
|
|
# we don't use this but it triggers a deprecation warning. see:
|
|
# https://github.com/apple/swift-openapi-generator/issues/715
|
|
- target: '$.components.schemas.App.properties.relationships.properties.inAppPurchases'
|
|
update:
|
|
deprecated: false
|
|
# openapi-generator expects response enums to be exhaustive. Apple's ASC OpenAPI spec
|
|
# misses some cases that they do, actually, return.
|
|
- target: '$.components.schemas.Device.properties.attributes.properties.deviceClass'
|
|
update:
|
|
enum:
|
|
- APPLE_VISION_PRO
|
|
- target: '$.components.schemas.BundleIdPlatform'
|
|
update:
|
|
enum:
|
|
- SERVICES
|
|
# the spec already declares MAC_OS but ASC sometimes seems to
|
|
# spell this as MACOS instead. see:
|
|
# https://github.com/xtool-org/xtool/issues/64
|
|
- MACOS
|