question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wildcard content types support

See original GitHub issue

Using content types *.* does not work atm when specified in requestBody.

requestBody:
        content:
          "*/*":
            schema:

When route is reached the validation returns unsupported media type

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jordandobrevcommented, Apr 10, 2020

Yeah sure I’ll have a go this or next week and will PR it.

0reactions
allcontributors[bot]commented, Apr 26, 2020

@cdimascio

I’ve put up a pull request to add @jordandobrev! 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is '*' a valid wildcard for a content type according to HTTP spec?
It explicitly mentions supported media types like "n/m" where m could be * or n and m could be *, but only *...
Read more >
Examples of wildcard characters - Microsoft Support
Wildcards are special characters that can stand in for unknown characters in a text value and are handy for locating multiple items with...
Read more >
Are wildcard media types supported in content? #1290 - GitHub
If wildcard types are supported in content , how does this work? Do more specific types have preference over wildcard ones, e.g. image/png ......
Read more >
Supported Wildcards for NDMP - Commvault Documentation
When you use wildcards to specify subclient content, the content path appears in italics. You can use more than one type of wildcard...
Read more >
Security/CSP/Specification - MozillaWiki
Content Security Policy is intended to help web designers or server ... It helps mitigate and detect types of attacks such as XSS...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found