Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add summary feature #101

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1023,12 +1023,16 @@ components:
not-found:
properties:
type:
description: A link to the error documentation.
type: string
title:
description: A description of the error that occurred.
type: string
name:
description: The name of the parameter that caused the error.
type: string
status:
description: The HTTP status code.
type: integer
title: NotFound
type: object
Expand Down
8 changes: 4 additions & 4 deletions docs/NotFound.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**type** | **String** | | [optional]
**title** | **String** | | [optional]
**name** | **String** | | [optional]
**status** | **Integer** | | [optional]
**type** | **String** | A link to the error documentation. | [optional]
**title** | **String** | A description of the error that occurred. | [optional]
**name** | **String** | The name of the parameter that caused the error. | [optional]
**status** | **Integer** | The HTTP status code. | [optional]


## Implemented Interfaces
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/video/api/uploader/api/models/NotFound.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,12 @@ public NotFound type(String type) {
}

/**
* Get type
* A link to the error documentation.
*
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@ApiModelProperty(value = "A link to the error documentation.")

public String getType() {
return type;
Expand All @@ -73,12 +73,12 @@ public NotFound title(String title) {
}

/**
* Get title
* A description of the error that occurred.
*
* @return title
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@ApiModelProperty(value = "A description of the error that occurred.")

public String getTitle() {
return title;
Expand All @@ -94,12 +94,12 @@ public NotFound name(String name) {
}

/**
* Get name
* The name of the parameter that caused the error.
*
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@ApiModelProperty(value = "The name of the parameter that caused the error.")

public String getName() {
return name;
Expand All @@ -115,12 +115,12 @@ public NotFound status(Integer status) {
}

/**
* Get status
* The HTTP status code.
*
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
@ApiModelProperty(value = "The HTTP status code.")

public Integer getStatus() {
return status;
Expand Down
Loading