mirror of
https://github.com/LibreSign/libresign.git
synced 2025-12-18 05:20:45 +01:00
chore: remove settings from error message
Signed-off-by: Vitor Mattos <vitor@php.rio>
This commit is contained in:
parent
4922655a53
commit
4eaf988241
6 changed files with 25 additions and 35 deletions
|
|
@ -77,7 +77,7 @@ class FileController extends AEnvironmentAwareController {
|
|||
* Validate a file returning file data.
|
||||
*
|
||||
* @param string $uuid The UUID of the LibreSign file
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{action: int, errors: string[], settings: LibresignSettings, messages?: array{type: string, message: string}[]}, array{}>
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{action: int, errors: string[], messages?: array{type: string, message: string}[]}, array{}>
|
||||
*
|
||||
* 200: OK
|
||||
* 404: Request failed
|
||||
|
|
@ -97,7 +97,7 @@ class FileController extends AEnvironmentAwareController {
|
|||
* Validate a file returning file data.
|
||||
*
|
||||
* @param int $fileId The identifier value of the LibreSign file
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{action: int, errors: string[], settings: LibresignSettings, messages?: array{type: string, message: string}[]}, array{}>
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{action: int, errors: string[], messages?: array{type: string, message: string}[]}, array{}>
|
||||
*
|
||||
* 200: OK
|
||||
* 404: Request failed
|
||||
|
|
@ -117,7 +117,7 @@ class FileController extends AEnvironmentAwareController {
|
|||
* Validate a binary file returning file data.
|
||||
* Use field 'file' for the file upload
|
||||
*
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND|Http::STATUS_BAD_REQUEST, array{action: int, errors: string[], settings: LibresignSettings, messages?: array{type: string, message: string}[]}, array{}>
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND|Http::STATUS_BAD_REQUEST, array{action: int, errors: string[], messages?: array{type: string, message: string}[]}, array{}>
|
||||
*
|
||||
* 200: OK
|
||||
* 404: Request failed
|
||||
|
|
@ -165,7 +165,7 @@ class FileController extends AEnvironmentAwareController {
|
|||
*
|
||||
* @param string|null $type The type of identifier could be Uuid or FileId
|
||||
* @param string|int $identifier The identifier value, could be string or integer, if UUID will be a string, if FileId will be an integer
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{action: int, errors: string[], settings: LibresignSettings, messages?: array{type: string, message: string}[]}, array{}>
|
||||
* @return DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND, array{action: int, errors: string[], messages?: array{type: string, message: string}[]}, array{}>
|
||||
*
|
||||
* 200: OK
|
||||
* 404: Request failed
|
||||
|
|
|
|||
|
|
@ -3448,8 +3448,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3601,8 +3600,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3744,8 +3742,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3812,8 +3809,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3978,8 +3974,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
|
|||
15
openapi.json
15
openapi.json
|
|
@ -3352,8 +3352,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3505,8 +3504,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3648,8 +3646,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3716,8 +3713,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
@ -3882,8 +3878,7 @@
|
|||
"type": "object",
|
||||
"required": [
|
||||
"action",
|
||||
"errors",
|
||||
"settings"
|
||||
"errors"
|
||||
],
|
||||
"properties": {
|
||||
"action": {
|
||||
|
|
|
|||
|
|
@ -2425,7 +2425,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2480,7 +2480,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2538,7 +2538,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2591,7 +2591,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2614,7 +2614,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
|
|||
|
|
@ -2279,7 +2279,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2334,7 +2334,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2392,7 +2392,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2445,7 +2445,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
@ -2468,7 +2468,7 @@ export interface operations {
|
|||
/** Format: int64 */
|
||||
action: number;
|
||||
errors: string[];
|
||||
settings: components["schemas"]["Settings"];
|
||||
settings?: components["schemas"]["Settings"];
|
||||
messages?: {
|
||||
type: string;
|
||||
message: string;
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@
|
|||
<code><![CDATA[new DataResponse($return, $statusCode)]]></code>
|
||||
</InvalidReturnStatement>
|
||||
<InvalidReturnType>
|
||||
<code><![CDATA[DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND|Http::STATUS_BAD_REQUEST, array{action: int, errors: string[], settings: LibresignSettings, messages?: array{type: string, message: string}[]}, array{}>]]></code>
|
||||
<code><![CDATA[DataResponse<Http::STATUS_OK, LibresignValidateFile, array{}>|DataResponse<Http::STATUS_NOT_FOUND|Http::STATUS_BAD_REQUEST, array{action: int, errors: string[], messages?: array{type: string, message: string}[]}, array{}>]]></code>
|
||||
</InvalidReturnType>
|
||||
<UndefinedClass>
|
||||
<code><![CDATA[SharedStorage]]></code>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue