Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Needs TypeScript definition file #55

Open
stuft2 opened this issue Jan 8, 2020 · 11 comments
Open

Needs TypeScript definition file #55

stuft2 opened this issue Jan 8, 2020 · 11 comments

Comments

@stuft2
Copy link
Collaborator

stuft2 commented Jan 8, 2020

No description provided.

@Gi60s
Copy link
Owner

Gi60s commented Jan 10, 2020

I've begun work on this.

@malkevych
Copy link

Any progress?

@Gi60s
Copy link
Owner

Gi60s commented Jan 7, 2021

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.

@sempasha
Copy link
Contributor

sempasha commented Jan 8, 2021

@Gi60s do you need some help on this?
Would you share your work at some git branch?

@Gi60s
Copy link
Owner

Gi60s commented Jan 11, 2021

@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?

@sempasha
Copy link
Contributor

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.

@Gi60s
Copy link
Owner

Gi60s commented Jan 12, 2021

@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.

@olof-nord
Copy link

Happy to hear some updates! We have used this library a while now, really appreciate your work.

@Gi60s
Copy link
Owner

Gi60s commented Jan 27, 2021

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.

@zacharytwhite
Copy link

Any updates on this?

@Gi60s
Copy link
Owner

Gi60s commented Jan 13, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants