Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

missing schema field on header_object

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

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
ocaml, openapi
Domain
api

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.

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`.
Dominant language
OCaml
Stars
9
Forks
4
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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.

More from marigold-dev/openapi-router

All issues in marigold-dev/openapi-router

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.