A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
$ ./reslang ~/code/reslang/models/servers --stdout --env JUNK
Reslang error: no server found with environment "JUNK" (are you passing the correct value to --env?)
error Command failed with exit code 255.
This PR only addresses the swagger. I think asyncapi has the same problem, though the server blocks are handled a little differently
Fixes the swagger error of generating an empty list of server blocks when the
--env
option doesn't match any servers. Issue: https://github.com/LiveRamp/reslang/issues/120This PR only addresses the swagger. I think asyncapi has the same problem, though the server blocks are handled a little differently