Skip to content

mnaumanali94/asyncapidemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Async API spectral and codegen demo

  • Get started by installing spectral latest beta version
npm install -g @stoplight/[email protected]
  • Take a look at .spectral.yml file for an example of extending rulesets. You can use this file to add custom rules to lint against.

  • Lint your api file using:

spectral lint streetlights.yml
  • Next, install async api generator using
npm install -g @asyncapi/generator
ag streetlights.yaml @asyncapi/nodejs-template -o output -p server=production

Also please find the slide deck in the repo.

Nauman Ali

https://www.linkedin.com/in/nauman-ali/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published