d01b60e6dd
This PR contains the work done to define the `RateLimit`, `RateLimitRemaining` and the `RateLimitUsed` heades into the Open API specification document, as well as including these headers as part of the response for every existing endpoint declared in the mentioned document. In addition, the `openapi-generator-config` files was also changed to have a different naming strategy. Reviewed-on: #7 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
20 lines
618 B
YAML
20 lines
618 B
YAML
## ===----------------------------------------------------------------------===
|
|
##
|
|
## This source file is part of the Discogs Service open source project
|
|
##
|
|
## Copyright (c) 2025 Röck+Cöde VoF. and the Discogs Service project authors
|
|
## Licensed under Apache license v2.0
|
|
##
|
|
## See LICENSE for license information
|
|
## See CONTRIBUTORS for the list of Discogs Service project authors
|
|
##
|
|
## SPDX-License-Identifier: Apache-2.0
|
|
##
|
|
## ===----------------------------------------------------------------------===
|
|
|
|
generate:
|
|
- types
|
|
- client
|
|
namingStrategy: idiomatic
|
|
accessModifier: public
|