Skip to content

Commit

Permalink
feat: add JSON-LD to content parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Glup3 committed Apr 15, 2024
1 parent 67df3ec commit 0538b31
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 0538b31

Please sign in to comment.