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 } [] ; } = ...
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 } [] ; }
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
Defined in mgmt-api/admin_api_spec.ts:711
Forwards to
AdminApiSpec.buildSpec()on the installed instance.