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

Corrections to API Server operations #356

Merged
merged 1 commit into from
Jun 4, 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
197 changes: 197 additions & 0 deletions authorize/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2448,6 +2448,11 @@ components:
id: id
- element:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
methods:
- null
- null
Expand All @@ -2470,6 +2475,8 @@ components:
policy:
id: id
properties:
_links:
$ref: '#/components/schemas/LinksHATEOAS'
id:
description: The ID of the API service operation. This is randomly generated
when the operation is created.
Expand Down Expand Up @@ -2773,6 +2780,99 @@ components:
- role: "{}"
subject: "{}"
id: id
operations:
- accessControl:
scope:
matchType: null
scopes:
- id: id
- id: id
permission:
id: id
group:
groups:
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
methods:
- null
- null
- null
- null
- null
paths:
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
name: name
id: id
policy:
id: id
- accessControl:
scope:
matchType: null
scopes:
- id: id
- id: id
permission:
id: id
group:
groups:
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
methods:
- null
- null
- null
- null
- null
paths:
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
name: name
id: id
policy:
id: id
permissions:
- null
- null
Expand Down Expand Up @@ -3303,6 +3403,99 @@ components:
- role: "{}"
subject: "{}"
id: id
operations:
- accessControl:
scope:
matchType: null
scopes:
- id: id
- id: id
permission:
id: id
group:
groups:
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
methods:
- null
- null
- null
- null
- null
paths:
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
name: name
id: id
policy:
id: id
- accessControl:
scope:
matchType: null
scopes:
- id: id
- id: id
permission:
id: id
group:
groups:
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
- element:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
methods:
- null
- null
- null
- null
- null
paths:
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
- pattern: pattern
type: null
name: name
id: id
policy:
id: id
permissions:
- null
- null
Expand Down Expand Up @@ -3429,6 +3622,10 @@ components:
items:
$ref: '#/components/schemas/DecisionEndpoint'
type: array
operations:
items:
$ref: '#/components/schemas/APIServerOperation'
type: array
permissions:
items:
$ref: '#/components/schemas/EntityArray__embedded_permissions_inner'
Expand Down
26 changes: 26 additions & 0 deletions authorize/docs/APIServerOperation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Links** | Pointer to [**LinksHATEOAS**](LinksHATEOAS.md) | | [optional]
**Id** | Pointer to **string** | The ID of the API service operation. This is randomly generated when the operation is created. | [optional] [readonly]
**Name** | **string** | The name of the API service operation. |
**AccessControl** | Pointer to [**APIServerOperationAccessControl**](APIServerOperationAccessControl.md) | | [optional]
Expand All @@ -30,6 +31,31 @@ NewAPIServerOperationWithDefaults instantiates a new APIServerOperation object
This constructor will only assign default values to properties that have it defined,
but it doesn't guarantee that properties required by API are set

### GetLinks

`func (o *APIServerOperation) GetLinks() LinksHATEOAS`

GetLinks returns the Links field if non-nil, zero value otherwise.

### GetLinksOk

`func (o *APIServerOperation) GetLinksOk() (*LinksHATEOAS, bool)`

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

### SetLinks

`func (o *APIServerOperation) SetLinks(v LinksHATEOAS)`

SetLinks sets Links field to given value.

### HasLinks

`func (o *APIServerOperation) HasLinks() bool`

HasLinks returns a boolean if a field has been set.

### GetId

`func (o *APIServerOperation) GetId() string`
Expand Down
26 changes: 26 additions & 0 deletions authorize/docs/EntityArrayEmbedded.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**ApiServers** | Pointer to [**[]APIServer**](APIServer.md) | | [optional]
**Assignments** | Pointer to [**[]ApplicationRoleAssignment**](ApplicationRoleAssignment.md) | | [optional]
**DecisionEndpoints** | Pointer to [**[]DecisionEndpoint**](DecisionEndpoint.md) | | [optional]
**Operations** | Pointer to [**[]APIServerOperation**](APIServerOperation.md) | | [optional]
**Permissions** | Pointer to [**[]EntityArrayEmbeddedPermissionsInner**](EntityArrayEmbeddedPermissionsInner.md) | | [optional]
**Resources** | Pointer to [**[]ApplicationResource**](ApplicationResource.md) | | [optional]
**Roles** | Pointer to [**[]ApplicationRole**](ApplicationRole.md) | | [optional]
Expand Down Expand Up @@ -105,6 +106,31 @@ SetDecisionEndpoints sets DecisionEndpoints field to given value.

HasDecisionEndpoints returns a boolean if a field has been set.

### GetOperations

`func (o *EntityArrayEmbedded) GetOperations() []APIServerOperation`

GetOperations returns the Operations field if non-nil, zero value otherwise.

### GetOperationsOk

`func (o *EntityArrayEmbedded) GetOperationsOk() (*[]APIServerOperation, bool)`

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

### SetOperations

`func (o *EntityArrayEmbedded) SetOperations(v []APIServerOperation)`

SetOperations sets Operations field to given value.

### HasOperations

`func (o *EntityArrayEmbedded) HasOperations() bool`

HasOperations returns a boolean if a field has been set.

### GetPermissions

`func (o *EntityArrayEmbedded) GetPermissions() []EntityArrayEmbeddedPermissionsInner`
Expand Down
6 changes: 6 additions & 0 deletions authorize/generate/pingone-authorize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ components:
APIServerOperation:
type: object
properties:
'_links':
$ref: '#/components/schemas/LinksHATEOAS'
id:
type: string
readOnly: true
Expand Down Expand Up @@ -446,6 +448,10 @@ components:
type: array
items:
$ref: '#/components/schemas/DecisionEndpoint'
operations:
type: array
items:
$ref: '#/components/schemas/APIServerOperation'
permissions:
type: array
items:
Expand Down
36 changes: 36 additions & 0 deletions authorize/model_api_server_operation.go

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

Loading
Loading