Skip to content

Commit 5e92f29

Browse files
committed
fix(openapi): add empty schemas object to components (ChatGPT requirement)
1 parent e88337b commit 5e92f29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/openapi.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ pub fn build_openapi_spec(server_url: &str) -> serde_json::Value {
4343
"servers": [{ "url": server_url }],
4444
"security": [{ "bearerAuth": [] }],
4545
"components": {
46+
"schemas": {},
4647
"securitySchemes": {
4748
"bearerAuth": { "type": "http", "scheme": "bearer" }
4849
}

0 commit comments

Comments
 (0)