Skip to content

Commit

Permalink
fix content type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Oct 10, 2024
1 parent 95bbf26 commit 0670e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operation/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function getSchema(): TypeInterface|ContentType
public function jsonSerialize(): array
{
if ($this->schema instanceof ContentType) {
$contentType = $this->schema->value;
$contentType = $this->schema->toString();
$schema = null;
} else {
$contentType = null;
Expand Down

0 comments on commit 0670e75

Please sign in to comment.