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
- Added query and path parameter serialization from OpenAPI / Swagger
metadata
- Added support for array and object-style query parameters such as
`deepObject`, `pipeDelimited`, and Swagger 2 collection formats
- Added automatic API base URL detection from OAS `servers`
- Added automatic API base URL detection from Swagger 2 `host`, `basePath`,
and `schemes`
- Added operation-level and path-level server overrides when the spec defines
endpoint-specific targets
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,6 +77,16 @@ npx openapi-to-cli onboard \
77
77
78
78
In practice this improves compatibility with APIs that define inputs outside simple path/query parameters, especially for `POST`, `PUT`, and `PATCH` operations.
79
79
80
+
### Better request generation
81
+
82
+
`ocli` now uses more request metadata from the specification when building real HTTP calls:
83
+
84
+
- query and path parameter serialization from OpenAPI / Swagger metadata
85
+
- support for array and object-style query parameters such as `deepObject`, `pipeDelimited`, and Swagger 2 collection formats
86
+
- operation-level and path-level server overrides when the spec defines different targets for different endpoints
87
+
88
+
In practice this improves compatibility with APIs that rely on non-trivial parameter encoding or per-operation server definitions.
0 commit comments