3aaf5cd7a5
This PR contains all the work done to update the App Store Connect OpenAPI specification document to its latest version, plus the implementation of the `BearerAuthMiddleware` middleware, and several other improvements to the setup of the library, the `Makefile` file, and the documentation. Reviewed-on: #4 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
32 lines
1.2 KiB
Bash
32 lines
1.2 KiB
Bash
## ===------------------------------------------------------------------------------------===
|
|
##
|
|
## This source file is part of the App Store Connect Service open source project
|
|
##
|
|
## Copyright (c) 2026 Röck+Cöde VoF. and the App Store Connect Service project authors
|
|
## Licensed under Apache license v2.0
|
|
##
|
|
## See LICENSE for license information
|
|
## See CONTRIBUTORS for the list of App Store Connect Service project authors
|
|
##
|
|
## SPDX-License-Identifier: Apache-2.0
|
|
##
|
|
## ===------------------------------------------------------------------------------------===
|
|
|
|
# --- DOCUMENTATION ---
|
|
|
|
DOCC_ARCHIVE_OUTPUT=./${SPM_LIBRARY_TARGET}.doccarchive
|
|
DOCC_GITHUB_OUTPUT=./docs
|
|
DOCC_GITHUB_BASE_PATH=asconnect-service
|
|
DOCC_PREVIEW_URL=http://localhost:8080/documentation/asconnectservice
|
|
|
|
# --- OPEN API SPECIFICATION ---
|
|
|
|
OAS_DOWNLOAD_FOLDER=./oas-download
|
|
OAS_DOWNLOAD_FILE=$(OAS_DOWNLOAD_FOLDER)/openapi.oas.json
|
|
OAS_DOWNLOAD_INPUT=$(OAS_DOWNLOAD_FOLDER)/asconnect-openapi-specification.zip
|
|
OAS_DOWNLOAD_OUTPUT=Sources/$(SPM_LIBRARY_TARGET)/openapi.json
|
|
OAS_DOWNLOAD_URL=https://developer.apple.com/sample-code/app-store-connect/app-store-connect-openapi-specification.zip
|
|
|
|
# -- SWIFT PACKAGE MANAGER ---
|
|
|
|
SPM_LIBRARY_TARGET=ASConnectService |