Skip to content

Commit

Permalink
CNS-457: update openapi leftovers (for chain/project policy)
Browse files Browse the repository at this point in the history
  • Loading branch information
orenl-lava committed Jun 28, 2023
1 parent 0199c23 commit 18cb153
Showing 1 changed file with 129 additions and 57 deletions.
186 changes: 129 additions & 57 deletions docs/static/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55733,6 +55733,15 @@ definitions:
usedCU:
type: string
format: uint64
lavanet.lava.plans.ChainPolicy:
type: object
properties:
chain_id:
type: string
apis:
type: array
items:
type: string
lavanet.lava.plans.ListInfoStruct:
type: object
properties:
Expand Down Expand Up @@ -55841,6 +55850,53 @@ definitions:
items:
type: string
title: 'protobuf expected in YAML format: used "moretags" to simplify parsing'
lavanet.lava.plans.Policy:
type: object
properties:
chain_policies:
type: array
items:
type: object
properties:
chain_id:
type: string
apis:
type: array
items:
type: string
geolocation_profile:
type: string
format: uint64
total_cu_limit:
type: string
format: uint64
epoch_cu_limit:
type: string
format: uint64
max_providers_to_pair:
type: string
format: uint64
selected_providers_mode:
type: string
enum:
- ALLOWED
- MIXED
- EXCLUSIVE
- DISABLED
default: ALLOWED
description: |-
- ALLOWED: no providers restrictions
- MIXED: use the selected providers mixed with randomly chosen providers
- EXCLUSIVE: use only the selected providers
- DISABLED: selected providers feature is disabled
title: >-
the enum below determines the pairing algorithm's behaviour with the
selected providers feature
selected_providers:
type: array
items:
type: string
title: 'protobuf expected in YAML format: used "moretags" to simplify parsing'
lavanet.lava.plans.QueryInfoResponse:
type: object
properties:
Expand Down Expand Up @@ -55969,63 +56025,7 @@ definitions:
description: params holds all the parameters of this module.
type: object
description: QueryParamsResponse is response type for the Query/Params RPC method.
lavanet.lava.projects.ChainPolicy:
type: object
properties:
chain_id:
type: string
apis:
type: array
items:
type: string
lavanet.lava.projects.Policy:
type: object
properties:
chain_policies:
type: array
items:
type: object
properties:
chain_id:
type: string
apis:
type: array
items:
type: string
geolocation_profile:
type: string
format: uint64
total_cu_limit:
type: string
format: uint64
epoch_cu_limit:
type: string
format: uint64
max_providers_to_pair:
type: string
format: uint64
selected_providers_mode:
type: string
enum:
- ALLOWED
- MIXED
- EXCLUSIVE
- DISABLED
default: ALLOWED
description: |-
- ALLOWED: no providers restrictions
- MIXED: use the selected providers mixed with randomly chosen providers
- EXCLUSIVE: use only the selected providers
- DISABLED: selected providers feature is disabled
title: >-
the enum below determines the pairing algorithm's behaviour with the
selected providers feature
selected_providers:
type: array
items:
type: string
title: 'protobuf expected in YAML format: used "moretags" to simplify parsing'
lavanet.lava.projects.SELECTED_PROVIDERS_MODE:
lavanet.lava.plans.SELECTED_PROVIDERS_MODE:
type: string
enum:
- ALLOWED
Expand Down Expand Up @@ -57684,6 +57684,62 @@ definitions:
format: int64
hanging_api:
type: boolean
lavanet.lava.projects.ChainPolicy:
type: object
properties:
chain_id:
type: string
apis:
type: array
items:
type: string
lavanet.lava.projects.Policy:
type: object
properties:
chain_policies:
type: array
items:
type: object
properties:
chain_id:
type: string
apis:
type: array
items:
type: string
geolocation_profile:
type: string
format: uint64
total_cu_limit:
type: string
format: uint64
epoch_cu_limit:
type: string
format: uint64
max_providers_to_pair:
type: string
format: uint64
selected_providers_mode:
type: string
enum:
- ALLOWED
- MIXED
- EXCLUSIVE
- DISABLED
default: ALLOWED
description: |-
- ALLOWED: no providers restrictions
- MIXED: use the selected providers mixed with randomly chosen providers
- EXCLUSIVE: use only the selected providers
- DISABLED: selected providers feature is disabled
title: >-
the enum below determines the pairing algorithm's behaviour with the
selected providers feature
selected_providers:
type: array
items:
type: string
title: 'protobuf expected in YAML format: used "moretags" to simplify parsing'
lavanet.lava.projects.ProjectData:
type: object
properties:
Expand Down Expand Up @@ -57750,6 +57806,22 @@ definitions:
type: string
title: 'protobuf expected in YAML format: used "moretags" to simplify parsing'
title: used as a container struct for the subscription module
lavanet.lava.projects.SELECTED_PROVIDERS_MODE:
type: string
enum:
- ALLOWED
- MIXED
- EXCLUSIVE
- DISABLED
default: ALLOWED
description: |-
- ALLOWED: no providers restrictions
- MIXED: use the selected providers mixed with randomly chosen providers
- EXCLUSIVE: use only the selected providers
- DISABLED: selected providers feature is disabled
title: >-
the enum below determines the pairing algorithm's behaviour with the
selected providers feature
lavanet.lava.subscription.ListInfoStruct:
type: object
properties:
Expand Down

0 comments on commit 18cb153

Please sign in to comment.