Skip to content

Commit

Permalink
Merge pull request #390 from Glup3/feat/add-json-ld-to-content-parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlubos authored Apr 15, 2024
2 parents 67df3ec + 0538b31 commit a9a8783
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/long-icons-shave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hey-api/openapi-ts": minor
---

feat: add JSON-LD to content parsing
1 change: 1 addition & 0 deletions packages/openapi-ts/src/openApi/v3/parser/getContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export interface Content {
const BASIC_MEDIA_TYPES = [
'application/json-patch+json',
'application/json',
'application/ld+json',
'application/x-www-form-urlencoded',
'text/json',
'text/plain',
Expand Down

0 comments on commit a9a8783

Please sign in to comment.