acacode / acacode/swagger-typescript-api

Feature request: 'interfacePrefix'

Open
#466 5 comments 8 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

Hi! First of all thanks for this project!

Currently, there are several props for prefix\suffix settings:

```
typePrefix: '',
typeSuffix: '',
enumKeyPrefix: '',
enumKeySuffix: '',
```

But the one is missing is `interfacePrefix` (and `interfaceSuffix`).

Ideally, I want to have a `"T"` prefix for my types, and `"I"` for my interfaces, as far as I understand, currently it's impossible, and `typePrefix` will be applied to both types and interfaces.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.