UNPKG

@infinite-debugger/swagger-to-ts

Version:

swagger-to-ts is a powerful library that allows you to generate TypeScript code from Swagger documentation or OpenAPI specifications. It simplifies the process of integrating API definitions into your TypeScript projects, saving you time and effort.

13 lines (12 loc) 497 B
import { PermissionsCodeConfiguration, RequestGroupings } from '../models'; export interface GeneratePermissionsCodeConfigurationOptions { /** * The request groupings to generate code for. */ requestGroupings: RequestGroupings; /** * The scope name of the permissions. */ scopeName?: string; } export declare const getPermissionsCodeConfiguration: ({ requestGroupings, scopeName, }: GeneratePermissionsCodeConfigurationOptions) => PermissionsCodeConfiguration;