Skip to content

Commit

Permalink
Update QueryRulesetPutRequest body to better align with REST API (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
kderusso authored and github-actions[bot] committed Sep 20, 2023
1 parent dc1c9f9 commit 2b361cd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 13 deletions.
26 changes: 17 additions & 9 deletions output/schema/schema.json

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

4 changes: 3 additions & 1 deletion output/typescript/types.ts

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

8 changes: 5 additions & 3 deletions specification/query_ruleset/put/QueryRulesetPutRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
import { RequestBase } from '@_types/Base'
import { Id } from '@_types/common'
import { QueryRuleset } from '../_types/QueryRuleset'
import { QueryRule } from '../_types/QueryRuleset'

/**
* Creates or updates a query ruleset.
Expand All @@ -34,8 +34,10 @@ export interface Request extends RequestBase {
ruleset_id: Id
}
/**
* The query ruleset information to update
* The query rules in this ruleset
*/
/** @codegen_name query_ruleset */
body: QueryRuleset
body: {
rules: QueryRule[]
}
}

0 comments on commit 2b361cd

Please sign in to comment.