iya-sts
    Preparing search index...
    buildSpec: (
        routes: any,
        options: any,
    ) => {
        components: Record<string, any>;
        info: {
            description: string;
            license: { name: string };
            title: string;
            version: any;
        };
        openapi: string;
        paths: {};
        security: (
            | { bearerAuth?: undefined; oauth2: string[] }
            | { bearerAuth: any[]; oauth2?: undefined }
        )[];
        servers: { description: string; url: any }[];
        tags: { description: any; name: any }[];
    } = ...

    Forwards to AdminApiSpec.buildSpec() on the installed instance.

    Type Declaration

      • (
            routes: any,
            options: any,
        ): {
            components: Record<string, any>;
            info: {
                description: string;
                license: { name: string };
                title: string;
                version: any;
            };
            openapi: string;
            paths: {};
            security: (
                | { bearerAuth?: undefined; oauth2: string[] }
                | { bearerAuth: any[]; oauth2?: undefined }
            )[];
            servers: { description: string; url: any }[];
            tags: { description: any; name: any }[];
        }
      • The OpenAPI document of the routes given, as the model states it. The Management API OpenAPI document and the Admin Console API OpenAPI document are written in models/api/ (#1390). What depends on this request or this process is set here: the base URL, the version, and the access gate's state.

        Parameters

        • routes: any

          the route table, or part of it

        • options: any

          baseUrl, version, authRequired and console

        Returns {
            components: Record<string, any>;
            info: {
                description: string;
                license: { name: string };
                title: string;
                version: any;
            };
            openapi: string;
            paths: {};
            security: (
                | { bearerAuth?: undefined; oauth2: string[] }
                | { bearerAuth: any[]; oauth2?: undefined }
            )[];
            servers: { description: string; url: any }[];
            tags: { description: any; name: any }[];
        }

        the OpenAPI document