marigold-dev / marigold-dev/openapi-router
missing schema field on header_object
Nobody has claimed this yet.
- Dominant language
- OCaml
- Stars
- 9
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
The header_object type is missing the schema field, which I found from the swift openapi generator giving the following error:
```
Header could not be decoded because:
Inconsistency encountered when parsing `Header`: A header parameter must specify either `content` or `schema`.
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the project for the `header_object` type definition and compare it with the OpenAPI Header requirements. Add the missing `schema` field and verify that the Swift OpenAPI generator can decode the header without reporting that it must specify `content` or `schema`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ocaml, openapi
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100