تخطي إلى المحتوى

tsoa-next / @tsoa-next/runtime / normalisePath

المهمة: التطبيع

ts
function normalisePath(
   path, 
   withPrefix?, 
   withSuffix?, 
   skipPrefixAndSuffixIfEmpty?): string;

محددة في: packages/runtime/src/utils/pathUtils.ts:43

يُعَدّلُ استخدامَ الاصطدامَ في طريقِ الطريقِ ويَطبّقُ بشكل اختياري a prefix and suffix.

البارامترات

path

string

withPrefix?

string

withSuffix?

string

skipPrefixAndSuffixIfEmpty?

boolean = true

العودة

string

Contributors

No contributors

Changelog

No recent changes

توليد OpenAPI وتوليد المسارات والتحقق وقت التشغيل مع اعتماد TypeScript أولاً.