Skip to content

Commit 2cb277a

Browse files
[org.openapis.v3] Allow using Reference as OpenApi response value (#47)
1 parent 2387406 commit 2cb277a

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

packages/org.openapis.v3.contrib/PklProject

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
amends "../basePklProject.pkl"
1717

1818
package {
19-
version = "1.0.2"
19+
version = "1.0.3"
2020
}
2121

2222
dependencies {

packages/org.openapis.v3.contrib/PklProject.deps.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"resolvedDependencies": {
44
"package://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2": {
55
"type": "local",
6-
"uri": "projectpackage://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2.1.0",
6+
"uri": "projectpackage://pkg.pkl-lang.org/pkl-pantry/org.openapis.v3@2.1.1",
77
"path": "../org.openapis.v3"
88
}
99
}

packages/org.openapis.v3/Operation.pkl

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ requestBody: (*RequestBody|Reference)?
8282
/// wildcard character X. For example, 2XX represents all response codes between [200-299]. Only the following range
8383
/// definitions are allowed: 1XX, 2XX, 3XX, 4XX, and 5XX. If a response is defined using an explicit code, the explicit
8484
/// code definition takes precedence over the range definition for that code.
85-
responses: Mapping<HTTPResponse.Code|HTTPResponse.CodeWildcard|"default", Response>?
85+
responses: Mapping<HTTPResponse.Code|HTTPResponse.CodeWildcard|"default", *Response|Reference>?
8686

8787
/// A map of possible out-of band callbacks related to the parent operation.
8888
///

packages/org.openapis.v3/PklProject

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
amends "../basePklProject.pkl"
1818

1919
package {
20-
version = "2.1.0"
20+
version = "2.1.1"
2121
}

0 commit comments

Comments
 (0)