Commit Graph

12 Commits

Author SHA1 Message Date
javier b547126708 Added support for the Crypto and CommonCrypto libraries for the GenerateHashUseCase use case in the library target, so this code builds for non-apple platforms. 2025-10-05 23:57:54 +02:00
javier a58e54e8ca Commented out the required properties for the EventsDataWrapper type for the openapi.yaml file in the library target as they are prone to be null based on the exploration I did. 2025-10-05 22:02:01 +02:00
javier 7187bf6f39 Fixed the StandardError type definition for the openapi.yaml file in the library target. 2025-10-05 22:01:13 +02:00
javier af7b2c2ab2 Removed certain properties from the required list in the components definition for the openapi.yaml file in the library target as they are prone to be null based on the exploration I did. 2025-10-05 21:56:05 +02:00
javier d5bd9feb0a First version of the library documentation (#7)
This PR contains the work done to write the main article of the `DocC` documentation for the library, which introduces the library as well as explains how to install it and use it.

Reviewed-on: #7
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-05 18:41:22 +00:00
javier 178f59909f Fixed a Swift 5.10 and Swift 6.0 compilation issue found on the "init(privateKey: publicKey: )" initializer function of the GenerateHashUseCase use case in the library target. (#6)
This PR contains the work done to fix a [Swift 5.10](https://swiftpackageindex.com/builds/780C768F-B00B-4F96-90E7-BFB0D2E7C47E) and [Swift 6.0](https://swiftpackageindex.com/builds/4D0AA35C-1F9E-4725-A02F-03FACF74DE10) compilation issue found by the Swift Package Index.

Reviewed-on: #6
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-05 12:35:23 +00:00
javier 331f4b4d60 Improvements for the OpenAPI specification document (#5)
This PR contains the work done to improve the servers, endpoints, and types defined in the `OpenAPI` specification document, based on the [public documentation of the Marvel API](https://gateway.marvel.com/docs/public)

Reviewed-on: #5
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-05 12:17:55 +00:00
javier f4065e62e4 Added support for an API key to the AuthMiddleware middleware in the library target. (#4)
This PR contains the work done to extend the implementation of the `AuthMiddleware` middleware to handle an API key as well as private and public keys.

Reviewed-on: #4
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-04 17:10:17 +00:00
javier ce0ec02c03 Implemented the Auth middleware (#3)
This PR contains the work done to implement the `AuthMiddleware` middleware that, when plugged into a `Client` object, adds authentication parameters to any request the client would make.

Reviewed-on: #3
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-04 10:57:15 +00:00
javier 7006aa1bc8 First version of the OpenAPI specification (#2)
This PR contains the work done to include a first version of the Marvel API document specification (that requires further tweaking) and also, the defined how the client would be generated by the Open API library.

Reviewed-on: #2
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-03 10:18:54 +00:00
javier fa2ddf7795 Library setup (#1)
This PR contains the work done to setup the library:
* Defined products, dependencies, and targets for the `Package` file;
* Restructured the folder structure of the library and test targets to start development work;
* Created the `DocC` documentation catalog in the library target;
* Added the `CONTRIBUTORS` and `LICENSE` files;
* Added `README` file.

Reviewed-on: #1
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-10-02 15:30:12 +00:00
javier 7895923655 Initial Commit 2025-10-02 16:55:17 +02:00