Skip to content
Open
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
12 changes: 7 additions & 5 deletions auth-api/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ paths:
schema:
type: string
style: form
- description: |-
Which field to use when ordering the results.
(Valid fields: name, user_id, confirmed, id)
- description: Which field to use when ordering the results.
explode: true
in: query
name: ordering
Expand Down Expand Up @@ -1231,10 +1229,12 @@ components:
name: name
id: 0
confirmed: true
email: email
- user_id: 6
name: name
id: 0
confirmed: true
email: email
properties:
count:
example: 123
Expand Down Expand Up @@ -1773,13 +1773,14 @@ components:
name: name
id: 0
confirmed: true
email: email
properties:
id:
format: int64
type: integer
name:
description: The human-readable name of this device.
maxLength: 64
type: string
email:
type: string
confirmed:
description: Is this device ready for use?
Expand All @@ -1789,6 +1790,7 @@ components:
format: int64
type: integer
required:
- email
- id
- name
- user_id
Expand Down
2 changes: 1 addition & 1 deletion auth-api/api_auth_mfatotp_device.go

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

4 changes: 2 additions & 2 deletions auth-api/docs/AuthMFATOTPDeviceAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ import (

func main() {
fields := "fields_example" // string | Comma-separated list of field names to include in the response. (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (Valid fields: name, user_id, confirmed, id) (optional)
ordering := "ordering_example" // string | Which field to use when ordering the results. (optional)
page := int64(789) // int64 | A page number within the paginated result set. (optional)
pageSize := int64(789) // int64 | A numeric value that indicates the number of items per page. (optional)
search := "search_example" // string | A search term. (optional)
Expand Down Expand Up @@ -192,7 +192,7 @@ Other parameters are passed through a pointer to a apiListTotpDevicesRequest str
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**fields** | **string** | Comma-separated list of field names to include in the response. |
**ordering** | **string** | Which field to use when ordering the results. (Valid fields: name, user_id, confirmed, id) |
**ordering** | **string** | Which field to use when ordering the results. |
**page** | **int64** | A page number within the paginated result set. |
**pageSize** | **int64** | A numeric value that indicates the number of items per page. |
**search** | **string** | A search term. |
Expand Down
25 changes: 23 additions & 2 deletions auth-api/docs/TOTPDeviceList.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Id** | **int64** | |
**Name** | **string** | The human-readable name of this device. |
**Name** | **string** | |
**Email** | **string** | |
**Confirmed** | Pointer to **bool** | Is this device ready for use? | [optional]
**UserId** | **int64** | The user that this device belongs to. |

## Methods

### NewTOTPDeviceList

`func NewTOTPDeviceList(id int64, name string, userId int64, ) *TOTPDeviceList`
`func NewTOTPDeviceList(id int64, name string, email string, userId int64, ) *TOTPDeviceList`

NewTOTPDeviceList instantiates a new TOTPDeviceList object
This constructor will assign default values to properties that have it defined,
Expand Down Expand Up @@ -68,6 +69,26 @@ and a boolean to check if the value has been set.
SetName sets Name field to given value.


### GetEmail

`func (o *TOTPDeviceList) GetEmail() string`

GetEmail returns the Email field if non-nil, zero value otherwise.

### GetEmailOk

`func (o *TOTPDeviceList) GetEmailOk() (*string, bool)`

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

### SetEmail

`func (o *TOTPDeviceList) SetEmail(v string)`

SetEmail sets Email field to given value.


### GetConfirmed

`func (o *TOTPDeviceList) GetConfirmed() bool`
Expand Down
31 changes: 29 additions & 2 deletions auth-api/model_totp_device_list.go

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

11 changes: 8 additions & 3 deletions dns-api/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2439,7 +2439,8 @@ components:
description: Serializer for a single JSON:API error object.
example:
code: code
meta: ""
meta:
key: ""
detail: detail
source: ""
title: title
Expand Down Expand Up @@ -2471,7 +2472,9 @@ components:
- $ref: "#/components/schemas/JSONAPIErrorSource"
description: References to the primary source of the error
meta:
additionalProperties: {}
description: Non-standard meta-information about the error
type: object
title: JSONAPIErrorObject
type: object
JSONAPIErrorResponse:
Expand All @@ -2480,13 +2483,15 @@ components:
example:
errors:
- code: code
meta: ""
meta:
key: ""
detail: detail
source: ""
title: title
status: status
- code: code
meta: ""
meta:
key: ""
detail: detail
source: ""
title: title
Expand Down
18 changes: 4 additions & 14 deletions dns-api/docs/JSONAPIErrorObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**Title** | Pointer to **string** | A short, human-readable summary of the problem | [optional]
**Detail** | Pointer to **string** | A human-readable explanation specific to this occurrence of the problem | [optional]
**Source** | Pointer to [**JSONAPIErrorSource**](JSONAPIErrorSource.md) | References to the primary source of the error | [optional]
**Meta** | Pointer to **interface{}** | Non-standard meta-information about the error | [optional]
**Meta** | Pointer to **map[string]interface{}** | Non-standard meta-information about the error | [optional]

## Methods

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

### GetMeta

`func (o *JSONAPIErrorObject) GetMeta() interface{}`
`func (o *JSONAPIErrorObject) GetMeta() map[string]interface{}`

GetMeta returns the Meta field if non-nil, zero value otherwise.

### GetMetaOk

`func (o *JSONAPIErrorObject) GetMetaOk() (*interface{}, bool)`
`func (o *JSONAPIErrorObject) GetMetaOk() (*map[string]interface{}, bool)`

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

### SetMeta

`func (o *JSONAPIErrorObject) SetMeta(v interface{})`
`func (o *JSONAPIErrorObject) SetMeta(v map[string]interface{})`

SetMeta sets Meta field to given value.

Expand All @@ -180,16 +180,6 @@ SetMeta sets Meta field to given value.

HasMeta returns a boolean if a field has been set.

### SetMetaNil

`func (o *JSONAPIErrorObject) SetMetaNil(b bool)`

SetMetaNil sets the value for Meta to be an explicit nil

### UnsetMeta
`func (o *JSONAPIErrorObject) UnsetMeta()`

UnsetMeta ensures that no value is present for Meta, not even an explicit nil

[[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
23 changes: 11 additions & 12 deletions dns-api/model_jsonapi_error_object.go

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