nuxt-openapi-docs-module
Version:
A module for Nuxt.js to generate pages from OpenAPI specifications
7 lines (6 loc) • 690 B
TypeScript
export function getTagColor(method: any): "bg-green-100 text-green-800 dark:bg-gray-700 dark:text-green-400 border border-green-400" | "bg-blue-100 text-blue-800 dark:bg-gray-700 dark:text-blue-400 border border-blue-400" | "bg-indigo-100 text-indigo-800 dark:bg-gray-700 dark:text-indigo-400 border border-indigo-400" | "bg-yellow-100 text-yellow-800 dark:bg-gray-700 dark:text-yellow-300 border border-yellow-300" | "bg-red-100 text-red-800 dark:bg-gray-700 dark:text-red-400 border border-red-400" | "bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-400 border border-gray-500";
export function getSchemaValsFromPath(ref: any): {
type: any;
path: any;
name: any;
};