Skip to content

Commit

Permalink
generate
Browse files Browse the repository at this point in the history
  • Loading branch information
bonjuruu committed Feb 16, 2025
1 parent 3e62e9c commit 366baaf
Show file tree
Hide file tree
Showing 5 changed files with 112 additions and 105 deletions.
5 changes: 0 additions & 5 deletions go-client/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,6 @@ components:
thumbnail:
description: URL of the post thumbnail.
type: string
required:
- content
- summary
- thumbnail
- title
type: object
ICreateUserRequestDTO:
example:
Expand Down
30 changes: 25 additions & 5 deletions go-client/docs/IUpdatePostRequestDTO.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Title** | **string** | Title of the post. |
**Summary** | **string** | Summary of the post. |
**Content** | **string** | Content of the post. |
**Thumbnail** | **string** | URL of the post thumbnail. |
**Title** | Pointer to **string** | Title of the post. | [optional]
**Summary** | Pointer to **string** | Summary of the post. | [optional]
**Content** | Pointer to **string** | Content of the post. | [optional]
**Thumbnail** | Pointer to **string** | URL of the post thumbnail. | [optional]

## Methods

### NewIUpdatePostRequestDTO

`func NewIUpdatePostRequestDTO(title string, summary string, content string, thumbnail string, ) *IUpdatePostRequestDTO`
`func NewIUpdatePostRequestDTO() *IUpdatePostRequestDTO`

NewIUpdatePostRequestDTO instantiates a new IUpdatePostRequestDTO object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -47,6 +47,11 @@ and a boolean to check if the value has been set.

SetTitle sets Title field to given value.

### HasTitle

`func (o *IUpdatePostRequestDTO) HasTitle() bool`

HasTitle returns a boolean if a field has been set.

### GetSummary

Expand All @@ -67,6 +72,11 @@ and a boolean to check if the value has been set.

SetSummary sets Summary field to given value.

### HasSummary

`func (o *IUpdatePostRequestDTO) HasSummary() bool`

HasSummary returns a boolean if a field has been set.

### GetContent

Expand All @@ -87,6 +97,11 @@ and a boolean to check if the value has been set.

SetContent sets Content field to given value.

### HasContent

`func (o *IUpdatePostRequestDTO) HasContent() bool`

HasContent returns a boolean if a field has been set.

### GetThumbnail

Expand All @@ -107,6 +122,11 @@ and a boolean to check if the value has been set.

SetThumbnail sets Thumbnail field to given value.

### HasThumbnail

`func (o *IUpdatePostRequestDTO) HasThumbnail() bool`

HasThumbnail returns a boolean if a field has been set.


[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 1 addition & 1 deletion go-client/docs/PostAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ import (

func main() {
id := "id_example" // string | Post id.
iUpdatePostRequestDTO := *openapiclient.NewIUpdatePostRequestDTO("Title_example", "Summary_example", "Content_example", "Thumbnail_example") // IUpdatePostRequestDTO |
iUpdatePostRequestDTO := *openapiclient.NewIUpdatePostRequestDTO() // IUpdatePostRequestDTO |

configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
Expand Down
172 changes: 82 additions & 90 deletions go-client/model_i_update_post_request_dto.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions typescript-client/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,25 +145,25 @@ export interface IUpdatePostRequestDTO {
* @type {string}
* @memberof IUpdatePostRequestDTO
*/
'title': string;
'title'?: string;
/**
* Summary of the post.
* @type {string}
* @memberof IUpdatePostRequestDTO
*/
'summary': string;
'summary'?: string;
/**
* Content of the post.
* @type {string}
* @memberof IUpdatePostRequestDTO
*/
'content': string;
'content'?: string;
/**
* URL of the post thumbnail.
* @type {string}
* @memberof IUpdatePostRequestDTO
*/
'thumbnail': string;
'thumbnail'?: string;
}
/**
*
Expand Down

0 comments on commit 366baaf

Please sign in to comment.