@salesforce/b2c-tooling-sdk / schemas / getPathKeys
Function: getPathKeys() ​
getPathKeys(
schema):string[]
Defined in: packages/b2c-tooling-sdk/src/schemas/collapse.ts:282
Gets the list of available path keys from a schema.
Parameters ​
schema ​
The OpenAPI schema
OpenApiSchemaInput | CollapsedOpenApiSchema
Returns ​
string[]
Array of path keys (e.g., ["/products", "/orders"])