Files
kulakpos_web/vendor/knuckleswtf/scribe/lang/scribe.php
eko54r 1228c52538
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 3m36s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 16s
Build, Push and Deploy / deploy-staging (push) Successful in 42s
Build, Push and Deploy / deploy-production (push) Has been skipped
update after stop build
2026-04-18 16:10:57 +07:00

78 lines
2.9 KiB
PHP

<?php
return [
'labels' => [
'search' => 'Search',
'base_url' => 'Base URL',
],
'auth' => [
'none' => 'This API is not authenticated.',
'instruction' => [
'query' => <<<'TEXT'
To authenticate requests, include a query parameter **`:parameterName`** in the request.
TEXT,
'body' => <<<'TEXT'
To authenticate requests, include a parameter **`:parameterName`** in the body of the request.
TEXT,
'query_or_body' => <<<'TEXT'
To authenticate requests, include a parameter **`:parameterName`** either in the query string or in the request body.
TEXT,
'bearer' => <<<'TEXT'
To authenticate requests, include an **`Authorization`** header with the value **`"Bearer :placeholder"`**.
TEXT,
'basic' => <<<'TEXT'
To authenticate requests, include an **`Authorization`** header in the form **`"Basic {credentials}"`**.
The value of `{credentials}` should be your username/id and your password, joined with a colon (:),
and then base64-encoded.
TEXT,
'header' => <<<'TEXT'
To authenticate requests, include a **`:parameterName`** header with the value **`":placeholder"`**.
TEXT,
],
'details' => <<<'TEXT'
All authenticated endpoints are marked with a `requires authentication` badge in the documentation below.
TEXT,
],
'headings' => [
'introduction' => 'Introduction',
'auth' => 'Authenticating requests',
],
'endpoint' => [
'request' => 'Request',
'headers' => 'Headers',
'url_parameters' => 'URL Parameters',
'body_parameters' => 'Body Parameters',
'query_parameters' => 'Query Parameters',
'response' => 'Response',
'response_fields' => 'Response Fields',
'example_request' => 'Example request',
'example_response' => 'Example response',
'responses' => [
'binary' => 'Binary data',
'empty' => 'Empty response',
],
],
'try_it_out' => [
'open' => 'Try it out ⚡',
'cancel' => 'Cancel 🛑',
'send' => 'Send Request 💥',
'loading' => '⏱ Sending...',
'received_response' => 'Received response',
'request_failed' => 'Request failed with error',
'error_help' => <<<'TEXT'
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
TEXT,
],
'links' => [
'postman' => 'View Postman collection',
'openapi' => 'View OpenAPI spec',
],
];