Skip to content

Added new template param types - #11

Merged
qrdl merged 1 commit into
mainfrom
new-templ-params
Jun 25, 2026
Merged

qrdl merged 1 commit into
mainfrom
new-templ-params

Conversation

@qrdl

@qrdl qrdl commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 25, 2026 07:03
@qrdl
qrdl requested review from godronus and ruslanti June 25, 2026 07:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the OpenAPI schemas and regenerates the Go SDK models, expanding the supported API surface (including new template parameter types and new edge-store/statistics models).

Changes:

  • Expanded template_param.data_type enum (adds store, bool, json, enum) and introduced metadata.
  • Added multiple new schemas/models (e.g., edge stores, encoded values, admin stats) and refined many existing schema constraints/descriptions.
  • Regenerated sdk-schemas.gen.go with oapi-codegen v2.5.1, adding new union helpers for store entry payloads.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 11 comments.

File Description
sdk-schemas.gen.go Regenerated Go models/types (plus new union helpers) based on updated OpenAPI schema.
schemas.yml Updated OpenAPI component schemas (new types, enum expansions, constraints, and documentation updates).
Files not reviewed (1)
  • sdk-schemas.gen.go: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread schemas.yml
Comment on lines 86 to +90
type: string
description: App name
description: Unique application name (alphanumeric, hyphens allowed)
minLength: 1
maxLength: 64
pattern: "^[a-z0-9][a-z0-9-]*[a-z0-9]$"
Comment thread sdk-schemas.gen.go
Comment on lines 1 to 4
// Package sdk provides primitives to interact with the openapi HTTP API.
//
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.
// Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.
package sdk
Comment thread sdk-schemas.gen.go
Comment on lines +855 to +864
func (t *StoreEntry_Payload) MergeStoreKvPairValue(v StoreKvPairValue) error {
b, err := json.Marshal(v)
if err != nil {
return err
}

merged, err := runtime.JSONMerge(t.union, b)
t.union = merged
return err
}
Comment thread sdk-schemas.gen.go
Comment on lines +874 to +878
func (t *StoreEntry_Payload) FromStoreSortedSet(v StoreSortedSet) error {
b, err := json.Marshal(v)
t.union = b
return err
}
Comment thread sdk-schemas.gen.go
Comment on lines +881 to +890
func (t *StoreEntry_Payload) MergeStoreSortedSet(v StoreSortedSet) error {
b, err := json.Marshal(v)
if err != nil {
return err
}

merged, err := runtime.JSONMerge(t.union, b)
t.union = merged
return err
}
Comment thread sdk-schemas.gen.go
Comment on lines +907 to +916
func (t *StoreEntry_Payload) MergeStoreBloomFilter(v StoreBloomFilter) error {
b, err := json.Marshal(v)
if err != nil {
return err
}

merged, err := runtime.JSONMerge(t.union, b)
t.union = merged
return err
}
Comment thread sdk-schemas.gen.go
Comment on lines +848 to +852
func (t *StoreEntry_Payload) FromStoreKvPairValue(v StoreKvPairValue) error {
b, err := json.Marshal(v)
t.union = b
return err
}
Comment thread schemas.yml
description: "The unique name of the secret."
minLength: 1
maxLength: 128
pattern: "^[a-zA-Z0-9][a-zA-Z0-9_-]*[a-zA-Z0-9]$"
Comment thread schemas.yml
description: Network name
minLength: 1
maxLength: 64
pattern: "^[a-z0-9][a-z0-9_-]*[a-z0-9]$"
Comment thread schemas.yml
description: Unique plan identifier (alphanumeric and hyphens)
minLength: 1
maxLength: 64
pattern: "^[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]$"
@qrdl
qrdl merged commit 30f5d67 into main Jun 25, 2026
3 checks passed
@qrdl
qrdl deleted the new-templ-params branch June 25, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants