marigold-dev / marigold-dev/openapi-router

missing schema field on header_object

Open
#3 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.