Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whoan/fix-validator
Simple FIX scheme/dictionary validator
https://github.com/whoan/fix-validator
Last synced: 20 days ago
JSON representation
Simple FIX scheme/dictionary validator
- Host: GitHub
- URL: https://github.com/whoan/fix-validator
- Owner: whoan
- License: mit
- Created: 2019-12-09T04:54:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-03T01:27:36.000Z (over 4 years ago)
- Last Synced: 2024-10-26T12:36:15.797Z (2 months ago)
- Language: C++
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# FIX validator
This is a simple FIX scheme/dictionary validator which relies on [QuickFIX](https://github.com/quickfix/quickfix).
## Compile
```bash
mkdir build && cd build
cmake .. && make -j$(nproc)
```## Run
```bash
fix-validator < your_dictionary.xml
```### Use public service
```bash
curl -k -H "Content-Type: application/json" https://fix-validator.whoan.online/ -d"{\"data\": \"$(base64 -w0 your_schema.xml)\"}"
```### Create a handy command to use public service
```bash
fixv() {
local schema
schema="${1:?PLease provide a FIX schema file to validate}"
curl -k -H "Content-Type: application/json" https://fix-validator.whoan.online/ -d"{\"data\": \"$(base64 -w0 "$schema")\"}"
}
```## License
[MIT](https://github.com/whoan/fix-validator/blob/master/LICENSE)