openapi-sampler
openapi-sampler copied to clipboard
Binary format
What/Why/How?
I've added a sampler method for string of format binary which results in an array of numbers. I need this for visualizing samples within node-red nodes which offers an API wrapper functionality for OpenAPI definitions. Maybe this pull request is useful to merge.
Reference
Testing
Screenshots (optional)
Check yourself
- [x] Code is linted
- [x] Tested
- [x] All new/updated code is covered with tests
Security
- [ ] Security impact of change has been considered
- [ ] Code follows company security practices and guidelines
Hi @dumdiedum, thank you a lot for the contribution. I am not sure about adding binary format to string, because it is not included in documentation.
Wild idea: we should have an extension point for adding your own formats/examples?