docs(api): set problem documentation namespace
This commit is contained in:
@@ -676,7 +676,7 @@ components:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Problem'
|
||||
example:
|
||||
type: https://api.zarinpal.example/problems/unauthenticated
|
||||
type: https://zarinpal.amiirkhl.ir/docs/errors/unauthenticated
|
||||
title: Authentication required
|
||||
status: 401
|
||||
detail: Sign in to continue.
|
||||
@@ -706,7 +706,7 @@ components:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Problem'
|
||||
example:
|
||||
type: https://api.zarinpal.example/problems/resource-not-found
|
||||
type: https://zarinpal.amiirkhl.ir/docs/errors/resource-not-found
|
||||
title: Resource not found
|
||||
status: 404
|
||||
detail: The requested resource is unavailable.
|
||||
@@ -747,7 +747,7 @@ components:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Problem'
|
||||
example:
|
||||
type: https://api.zarinpal.example/problems/export-too-large
|
||||
type: https://zarinpal.amiirkhl.ir/docs/errors/export-too-large
|
||||
title: Export is too large
|
||||
status: 413
|
||||
detail: Narrow the approved filters and try again.
|
||||
@@ -777,7 +777,7 @@ components:
|
||||
schema:
|
||||
$ref: '#/components/schemas/Problem'
|
||||
example:
|
||||
type: https://api.zarinpal.example/problems/validation-error
|
||||
type: https://zarinpal.amiirkhl.ir/docs/errors/validation-error
|
||||
title: Request validation failed
|
||||
status: 422
|
||||
detail: One or more request values are invalid.
|
||||
@@ -1704,7 +1704,7 @@ components:
|
||||
type:
|
||||
type: string
|
||||
format: uri
|
||||
description: Stable problem type URI; production base URI is pending approval.
|
||||
description: Stable problem type URI under `https://zarinpal.amiirkhl.ir/docs/errors/{error-slug}`.
|
||||
title:
|
||||
type: string
|
||||
minLength: 1
|
||||
|
||||
Reference in New Issue
Block a user