Skip to content

Feat/openapi better impact#10

Merged
EvilFreelancer merged 1 commit intomainfrom
feat/openapi-better-impact
Mar 18, 2026
Merged

Feat/openapi better impact#10
EvilFreelancer merged 1 commit intomainfrom
feat/openapi-better-impact

Conversation

@snow-ghost
Copy link
Collaborator

Summary

This PR improves OpenAPI / Swagger compatibility in ocli and updates the
README to describe the new user-facing capabilities.

What changed

Better request generation

  • 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

User impact

These changes improve compatibility with real-world specs, especially APIs
that:

  • define payloads outside simple path/query parameters
  • rely on inherited path parameters
  • use local references
  • require header/cookie parameters
  • depend on non-trivial parameter serialization
  • define their base URL inside the specification instead of requiring manual
    profile setup

Documentation

README was updated to describe the new feature set as user-facing
capabilities instead of internal phase reporting.

@snow-ghost snow-ghost force-pushed the feat/openapi-better-impact branch from 3f9cc80 to 99bf3c4 Compare March 18, 2026 09:53
  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
@snow-ghost snow-ghost force-pushed the feat/openapi-better-impact branch from 99bf3c4 to 41362c6 Compare March 18, 2026 10:16
@EvilFreelancer EvilFreelancer merged commit 406f7a1 into main Mar 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants