We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99187a7 commit 8073094Copy full SHA for 8073094
1 file changed
.changeset/support_ref_in_responses.md
@@ -0,0 +1,12 @@
1
+---
2
+default: major
3
4
+
5
+# Support `$ref` in responses
6
7
+Previously, using a `$ref` to define a response was ignored, the code to call the endpoint was still generated, but
8
+the response would not be parsed. Now, responses defined with `$ref` will be used to generate the response model, which
9
+will parse the response at runtime.
10
11
+If a `$ref` is incorrect or uses a feature that is not supported by the generator, these endpoints will start failing to
12
+generate.
0 commit comments