Skip to content

Commit

Permalink
Update unwrap_schemas.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos authored Mar 1, 2024
1 parent 3df89c1 commit 29668d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codex/requirements/unwrap_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def convert_endpoint(
params=request_params,
)
response_model = ResponseModel(
name=input.api_endpoint.request_model.name,
description=input.api_endpoint.request_model.name,
name=input.api_endpoint.response_model.name,
description=input.api_endpoint.response_model.name,
params=response_params,
)
existing.database_schema = database
Expand Down

0 comments on commit 29668d2

Please sign in to comment.