Skip to content

Commit 6ec9fda

Browse files
🐛 Fix handling $ref to request body.
1 parent 6146640 commit 6ec9fda

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lapidary/render/model/openapi_conv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def process_path(
159159
self.process_operation(operation, stack.push(method), common_params)
160160
self._path_progress(json_pointer.decode_json_pointer(stack.top()))
161161

162+
@resolve_ref
162163
def process_request_body(self, value: openapi.RequestBody, stack: Stack) -> python.MimeMap:
163164
# TODO handle required
164165
return self.process_content(value.content, stack.push('content'))

0 commit comments

Comments
 (0)