You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
The request body example shown in the Swagger documentation for the Chat Completion API endpoint appears to be malformed JSON. Specifically:
The opening and closing curly braces are missing for the JSON object
The "Content-Type" header is included directly in the request body instead of in the headers section
The "text" field is missing a value
This looks to be an issue with how the Swagger docs are being automatically generated from the API definition.
Steps to Reproduce:
Open the Swagger documentation page
Navigate to the Chat Completion endpoint
Expand the example request body
Expected Result:
The example request body should be properly formatted JSON, with the Content-Type specified in the headers section.
Actual Result:
The request body is malformed and would result in an invalid API request.
Priority: Medium
Assignee: Bob Stevens
@restevens402 - Could you please take a look at this when you have a chance? It seems like it should be a straightforward fix to update the API definition file to generate a correct example in the Swagger UI. Let me know if you have any questions. Thanks!
The text was updated successfully, but these errors were encountered:
Description:
The request body example shown in the Swagger documentation for the Chat Completion API endpoint appears to be malformed JSON. Specifically:
This looks to be an issue with how the Swagger docs are being automatically generated from the API definition.
Steps to Reproduce:
Expected Result:
The example request body should be properly formatted JSON, with the Content-Type specified in the headers section.
Actual Result:
The request body is malformed and would result in an invalid API request.
Priority: Medium
Assignee: Bob Stevens
@restevens402 - Could you please take a look at this when you have a chance? It seems like it should be a straightforward fix to update the API definition file to generate a correct example in the Swagger UI. Let me know if you have any questions. Thanks!
The text was updated successfully, but these errors were encountered: