Skip to content

Commit

Permalink
fix: pids are ints
Browse files Browse the repository at this point in the history
  • Loading branch information
dariusbakunas committed Aug 6, 2021
1 parent 6aae8fc commit fd3fe60
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -518,8 +518,8 @@ components:
id: 0
state: state
pids:
- pids
- pids
- 6
- 6
properties:
id:
type: integer
Expand All @@ -531,7 +531,7 @@ components:
type: string
pids:
items:
type: string
type: integer
type: array
required:
- id
Expand Down
2 changes: 1 addition & 1 deletion cfg/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ components:
pids:
type: array
items:
type: string
type: integer
responses:
NotFound:
description: Endpoint not found
Expand Down
8 changes: 4 additions & 4 deletions docs/Service.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**Service** | **string** | |
**Enable** | Pointer to **bool** | | [optional]
**State** | Pointer to **string** | | [optional]
**Pids** | Pointer to **[]string** | | [optional]
**Pids** | Pointer to **[]int32** | | [optional]

## Methods

Expand Down Expand Up @@ -121,20 +121,20 @@ HasState returns a boolean if a field has been set.

### GetPids

`func (o *Service) GetPids() []string`
`func (o *Service) GetPids() []int32`

GetPids returns the Pids field if non-nil, zero value otherwise.

### GetPidsOk

`func (o *Service) GetPidsOk() (*[]string, bool)`
`func (o *Service) GetPidsOk() (*[]int32, bool)`

GetPidsOk returns a tuple with the Pids field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetPids

`func (o *Service) SetPids(v []string)`
`func (o *Service) SetPids(v []int32)`

SetPids sets Pids field to given value.

Expand Down
20 changes: 10 additions & 10 deletions model_service.go

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

0 comments on commit fd3fe60

Please sign in to comment.