TypeScript to OpenApi
- Dominant language
- TypeScript
- Stars
- 447
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
I would like to serve multiple versions of an api from a single web service. I also don't want to write OpenApi schemas. I want to write TypeScript, then I want to convert that to OpenApi. I am able to convert from TS to OpenApi (thanks!), however, I need to support multiple schema versions. If my project dirs look something like this...
```
.
`-- src/
|-- business/
| `-- dtos/
| |-- v1/
| | `-- index.ts
| `-- v2/
| `-- index.ts
`-- customer/
`-- dtos/
|-- v1/
| `-- index.ts
`-- v2/
`-- index.ts
```
then i want the schema to look something like
```
{
...
components:{
schemas: {
v1: {
...
},
v2:{
...
}
}
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.