chore(docs): Generated API Reference (#3718)
Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
51d0b88404
commit
70435d5631
37
docs/api/admin/paths/admin_currencies_{code}.yaml
Normal file
37
docs/api/admin/paths/admin_currencies_{code}.yaml
Normal file
@@ -0,0 +1,37 @@
|
||||
post:
|
||||
operationId: PostCurrenciesCurrency
|
||||
summary: Update a Currency
|
||||
description: Update a Currency
|
||||
x-authenticated: true
|
||||
parameters:
|
||||
- in: path
|
||||
name: code
|
||||
required: true
|
||||
description: The code of the Currency.
|
||||
schema:
|
||||
type: string
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/AdminPostCurrenciesCurrencyReq.yaml
|
||||
x-codegen:
|
||||
method: update
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS Client
|
||||
source:
|
||||
$ref: ../code_samples/JavaScript/admin_currencies_{code}/post.js
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
source:
|
||||
$ref: ../code_samples/Shell/admin_currencies_{code}/post.sh
|
||||
tags:
|
||||
- Currencies
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: ../components/schemas/AdminCurrenciesRes.yaml
|
||||
Reference in New Issue
Block a user