Skip to content

Commit

Permalink
Merge branch 'develop' into chore/codeowners-docs-util
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Nov 14, 2023
2 parents 7822f2e + b1826a8 commit ce91903
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,24 @@ import { FeatureFlagDecorators } from "../../../../utils/feature-flag-decorators
* tags:
* - Currencies
* responses:
* 200:
* "200":
* description: OK
* content:
* application/json:
* schema:
* $ref: "#/components/schemas/AdminCurrenciesListRes"
* "400":
* $ref: "#/components/responses/400_error"
* "401":
* $ref: "#/components/responses/unauthorized"
* "404":
* $ref: "#/components/responses/not_found_error"
* "409":
* $ref: "#/components/responses/invalid_state_error"
* "422":
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
*/
export default async (req: ExtendedRequest<Currency>, res) => {
const currencyService: CurrencyService = req.scope.resolve("currencyService")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,24 @@ import { EntityManager } from "typeorm"
* tags:
* - Currencies
* responses:
* 200:
* "200":
* description: OK
* content:
* application/json:
* schema:
* $ref: "#/components/schemas/AdminCurrenciesRes"
* "400":
* $ref: "#/components/responses/400_error"
* "401":
* $ref: "#/components/responses/unauthorized"
* "404":
* $ref: "#/components/responses/not_found_error"
* "409":
* $ref: "#/components/responses/invalid_state_error"
* "422":
* $ref: "#/components/responses/invalid_request_error"
* "500":
* $ref: "#/components/responses/500_error"
*/
export default async (req: ExtendedRequest<Currency>, res) => {
const code = req.params.code as string
Expand Down

0 comments on commit ce91903

Please sign in to comment.