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>
This commit was merged in pull request #4.
This commit is contained in:
2025-10-04 17:10:17 +00:00
committed by Javier Cicchelli
parent ce0ec02c03
commit f4065e62e4
5 changed files with 163 additions and 51 deletions
+4 -7
View File
@@ -20,7 +20,7 @@ info:
termsOfService: https://developer.marvel.com/terms
version: Cable
servers:
- url: https://gateway.marvel.com/
- url: https://gateway.marvel.com
description: Live service
tags:
- name: characters
@@ -5763,13 +5763,10 @@ components:
$ref: '#/components/schemas/ComicSummary'
ErrorResponse:
type: object
description: This is the standard error response type.
properties:
code:
type: integer
description: The HTTP status code of the returned result.
reason:
type: string
description: A reason describing the error.
description: The HTTP status code of the returned result.
required:
- code
- reason
- code