Skip to content

Commit

Permalink
Merge pull request #101 from apivideo/add-summary-feature-docs
Browse files Browse the repository at this point in the history
Add summary feature
  • Loading branch information
bot-api-video authored Oct 23, 2024
2 parents 7a847b8 + 7104c90 commit 66b5434
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
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

0 comments on commit 66b5434

Please sign in to comment.