openapi-sampler icon indicating copy to clipboard operation
openapi-sampler copied to clipboard

Binary format

Open dumdiedum opened this issue 1 year ago • 2 comments

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

dumdiedum avatar Apr 05 '24 09:04 dumdiedum

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.

AlexVarchuk avatar Apr 24 '24 13:04 AlexVarchuk

Wild idea: we should have an extension point for adding your own formats/examples?

adamaltman avatar Aug 30 '24 20:08 adamaltman