Skip to content

Commit

Permalink
Fixing Grist's API console (#1373)
Browse files Browse the repository at this point in the history
Co-authored-by: Florent <[email protected]>
  • Loading branch information
berhalak and fflorent authored Jan 14, 2025
1 parent d03d87e commit bf1585a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/client/apiconsole.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,11 @@ function setParamValue(resolvedParam: any, value: ParamValue) {
// For every endpoint in the spec...
for (const [pathKey, path] of spec.get("paths").entries()) {
for (const [method, operation] of path.entries()) {

// Skip the $ref for now, it is only used in `scim` endpoints which don't share
// parameters with other endpoints.
if (method === '$ref') {
continue;
}
const parameters = operation.get("parameters");
if (!parameters) { continue; }
for (const param of parameters.values()) {
Expand Down

0 comments on commit bf1585a

Please sign in to comment.