binance / binance/binance-api-swagger
Incorrect objects spec due to incorrect indentation
- Dominant language
- HTML
- Stars
- 169
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
In 3 occasions a wrong indentation leads to incorrect configuration/spec of the object
**To Reproduce**
Use any Swagger/OpenAPI validation to inspect the objects:
- Order book->bids min/max items
- Order book->asks min/max items
- Leverage info->brackets required items
- other indentation issues
**Expected behavior**
Correct spec validation for objects
**Screenshots**
none
**Environment (please complete the following information):**
- Version of binance-api-swagger: any
- Tool name and version [e.g openapi-typescript version 4.4.0]: any
**Additional context**
none
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by running an OpenAPI validator against the object definitions for Order book bids and asks and Leverage info brackets. Inspect their indentation and nesting, then verify that min/max items and required items validate correctly; check whether other indentation issues show the same problem.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100