openapi-enforcer
openapi-enforcer copied to clipboard
Needs TypeScript definition file
I've begun work on this.
Any progress?
Yes. I've been rewriting the library in typescript. It's not the fastest way to get to a TypeScript definition file though so I might have to rethink the approach.
@Gi60s do you need some help on this? Would you share your work at some git branch?
@sempasha I'm always willing to accept some help and feedback. As far as receiving those changes I'm more accustomed to forks and pull requests. I didn't even know it was possible to share a single branch.
Would you be willing to try the fork and PR method? Or, are you referring to helping on version 2 with Typescript?
Or, are you referring to helping on version 2 with Typescript
@Gi60s, that is exactly what I mean. You said you rewriting library in typescript. And I'm asking you to share your work on this at some branch, to let community help you with this.
@sempasha I will share it soon. It's far from complete but I'm cleaning up a few loose ends, then I'll share so other can contribute. Hopefully tomorrow.
Happy to hear some updates! We have used this library a while now, really appreciate your work.
Thank you @olof-nord. I appreciate the support that many have given to make this project a success.
For anyone that is interested in helping to shape version 2, please see the newly opened discussion board.
Any updates on this?
Yes, there are updates. I'm actively working on v2 on this branch: https://github.com/Gi60s/openapi-enforcer/tree/v2
v2 will have these features and a few more I'm sure:
- Written in TypeScript 🎉
- Will be more flexible with error escalation and de-escalation
- Will include the file path and line numbers in errors
- Will run in the browser and in Node
- Will support multiple languages. Although the initial release will likely just be English, it's built to easily extend to additional languages.
If anyone is interested in helping to write v2 then we should talk.