ipfs / ipfs/boxo

pinning/http: PinStatus.Info incorrectly generated

Open
#384 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
316
Forks
163
Avg merge
4d 12h
Merged PRs (30d)
8

Description

PinStatus.Info should be an arbitrary JSON object which is generally represented in Go as map[string]interface{}.

It looks like the tools have some bugs around doing this by default.

https://github.com/OpenAPITools/openapi-generator/issues/3277
https://github.com/OpenAPITools/openapi-generator/issues/518

Also the `Meta()` wrapper function we wrote incorrectly returns `map[string]string` as well, so probably I should have noticed this earlier 🤦‍♂️.

cc @whyrusleeping @lidel

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.