acacode / acacode/swagger-typescript-api

apiClassName can not be cutomized when modular is true

Open
#501 3 comments 7 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
4.1k
Forks
436
PR merge metrics
No merged PRs in 30d

Description

It seems no option named "apiClassName" for the `generateApi` function, and I also try to set name to 'CustomizedAPI', and add a hook to alter the api class name,

```
hooks: {
onPrepareConfig: (currentConfiguration) => {
return {
...currentConfiguration,
config: {
...currentConfiguration.config,
apiClassName: 'CustomizedAPI'
}
}
},
}
```

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.