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

feat: add tsExampleInstance flag and test for generate models #674

Merged
merged 4 commits into from
Jul 19, 2023

Conversation

chinma-yyy
Copy link
Contributor

Description

  • Added tsexampleInstance flag which will add the example option to the model
  • Created an options object which can be reused and declared once based on the flags
  • Added the relevant test script and updated the Docs

Related issue(s)

Resolves #462

@chinma-yyy
Copy link
Contributor Author

@jonaslagoni Will need help on the part of description of the flag.

@derberg derberg changed the title feat: added tsExampleInstance flag and test for generate models feat: add tsExampleInstance flag and test for generate models Jul 3, 2023
@chinma-yyy
Copy link
Contributor Author

chinma-yyy commented Jul 14, 2023

@jonaslagoni Will need help on the part of description of the flag.

@jonaslagoni waiting !

@jonaslagoni
Copy link
Member

@chinma-yyy what do you need help with? 🙂

Looks fine to me 👍

@sonarcloud
Copy link

sonarcloud bot commented Jul 19, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@derberg
Copy link
Member

derberg commented Jul 19, 2023

@jonaslagoni waiting !

@chinma-yyy were you shouting? 😅

@derberg
Copy link
Member

derberg commented Jul 19, 2023

/rtm

@asyncapi-bot asyncapi-bot merged commit ada86ca into asyncapi:master Jul 19, 2023
11 checks passed
@asyncapi-bot
Copy link
Contributor

🎉 This PR is included in version 0.51.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Generate example function for TypeScript models
4 participants