Skip to content

Ability to respond with text/html #1121

Answered by tdakkota
rokf asked this question in Q&A
Discussion options

You must be logged in to vote

You can map text/html type to ones that ogen supports by using content_type_aliases option.

Create a .ogen.yaml file with config:

generator:
  content_type_aliases:
    text/html: "text/plain"

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rokf
Comment options

Answer selected by rokf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants