Map type=string format=byte to buffer
Open
- Dominant language
- TypeScript
- Stars
- 28
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
In OpenAPI, `type=string` and `format=byte` refers to a base64 encoded string, much like our `buffer` type:
https://swagger.io/docs/specification/v3_0/data-models/data-types/
```
byte – base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==
```
So we should probably map this combination to a BuffertType in our internal representation https://github.com/dylibso/xtp-bindgen/blob/main/src/types.ts#L77
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.