diff --git a/src/data/paths.yaml b/src/data/paths.yaml index 71808752..6f397882 100644 --- a/src/data/paths.yaml +++ b/src/data/paths.yaml @@ -2,15 +2,3 @@ /acs/systems: page: title: Systems - -/acs/systems/get: - page: - title: Get an ACS System - -/acs/systems/list: - page: - title: List ACS Systems - -/acs/systems/list_compatible_credential_manager_acs_systems: - page: - title: List Compatible Credential Manager ACS Systems diff --git a/src/lib/layout-context.ts b/src/lib/layout-context.ts index 350531fc..9b779913 100644 --- a/src/lib/layout-context.ts +++ b/src/lib/layout-context.ts @@ -21,9 +21,6 @@ export interface EndpointLayoutContext { description: string title: string path: string - page: { - title: string - } request: { preferredMethod: string parameters: Array<{ @@ -57,16 +54,10 @@ export interface EndpointLayoutContext { export function setEndpointLayoutContext( file: Partial, endpoint: Endpoint, - pathMetadata: PathMetadata, ): void { file.description = endpoint.description file.title = endpoint.title file.path = endpoint.path - const page = pathMetadata[endpoint.path]?.page - if (page == null) { - throw new Error(`Missing page metadata for ${endpoint.path}`) - } - file.page = page file.request = { preferredMethod: endpoint.request?.preferredMethod ?? '',