asyncapi / generator

Use your AsyncAPI definition to generate literally anything. Markdown documentation, Node.js code, HTML documentation, anything!
https://asyncapi.com/docs/tools/generator
Apache License 2.0
767 stars 232 forks source link

fix: refactor `asyncapiDocument.server()` to `asyncapiDocument.servers().get()` to fix `conditionalFiles` #1207

Closed ibishal closed 6 months ago

ibishal commented 6 months ago

removed asyncapiDocument.server(this.templateParams.server) and used asyncapiDocument.servers().get(this.templateParams.server)

Related issue(s) Fixes #1206

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

derberg commented 6 months ago

/rtm

asyncapi-bot commented 6 months ago

:tada: This PR is included in version 2.0.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: