disneystreaming / disneystreaming/smithy4s

adding option to accept media-type

Open
#331 18 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
401
Forks
98
Avg merge
1d 2h
Merged PRs (30d)
4

Description

I am currently facing a problem where I need the correct content type in the generated open api file for the code generation to work correctly for another team.
My understanding is that it is currently not possible to set it in smithy-files. So is there any way to accept the media type from smithy-files as content type for the generated open api files?

Contributor guide

Open the contributing guide

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

No files or tests are named. Start by locating the Smithy-to-OpenAPI generation entry point and checking how media types in Smithy files are represented in the generated OpenAPI output; done means the requested media type is preserved as the generated content type and is covered by a test.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, scala
Domain
api, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.