Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danhunsaker/openapi2siege
A simple tool to convert your OpenAPI spec(s) to one or more Siege URL files
https://github.com/danhunsaker/openapi2siege
openapi openapi3 siege
Last synced: 8 days ago
JSON representation
A simple tool to convert your OpenAPI spec(s) to one or more Siege URL files
- Host: GitHub
- URL: https://github.com/danhunsaker/openapi2siege
- Owner: danhunsaker
- Created: 2023-03-25T00:37:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-11T21:46:23.000Z (over 1 year ago)
- Last Synced: 2025-01-10T16:56:23.962Z (18 days ago)
- Topics: openapi, openapi3, siege
- Language: Go
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
OpenAPI2Siege
-------------A simple tool to convert your OpenAPI spec(s) to one or more Siege URL files.
Features
========- Parse an OpenAPI spec into a list of URLs, an accompanying cookie file, and a `siege.conf` meant to tie them together.
- Using a configuration file, users can override the parameters and payloads in the spec itself with their own values.
- Generate separate files per media type for use in separate runs (since Siege doesn't support per-URL media types).
- Verbose messages when something can't be converted to Siege's expectations, letting users adjust the results as needed.Limitations
===========- **NO OpenAPI v2 SUPPORT YET**
- Payloads are built in a best-effort fashion; it can probably improve
- Some features aren't available in Siege; these are generally flagged on stdout
- Paths are in alphabetical order to ensure they only appear once; this should probably be configurableTesting
=======Tested against the current Digital Ocean v2 documentation. YMMV.
Contribute
==========Please tell us about any bugs or improvements you want to see!