v0.4.0
Noir now supports Swagger analysis. When Swagger documents are detected in the target source code, the tool analyzes those files to identify and extract endpoints.
Release note
- Support Swagger Analysis
- Module: Detector, Analyzer
- Format: JSON, YAML
- Improve codes (Kemal detector, spec codes)
- Using crystal's --production flags in the release process
For Contributors
Now, information can be stored and retrieved through the CodeLocator.instance
(singleton instance). It is primarily used for data communication between detectors and analyzers, which helps reduce redundant tasks.
# Code1
locator = CodeLocator.instance
locator.set("swagger-json", filename)
# if filename is 'docs.json'
# Code2
puts locator.get("swagger-json")
# docs.json