Skip to content

Add:#9

Merged
EvilFreelancer merged 1 commit intomainfrom
feat/openapi-spec-requestbody
Mar 18, 2026
Merged

Add:#9
EvilFreelancer merged 1 commit intomainfrom
feat/openapi-spec-requestbody

Conversation

@snow-ghost
Copy link
Collaborator

@snow-ghost snow-ghost commented Mar 17, 2026

  • OAS 3 requestBody support for JSON request payloads
  • Swagger 2 in: body and in: formData support
  • path-level + operation-level parameter merge
  • local $ref resolution for parameters, request bodies, and inline schemas
  • header and cookie parameter support in generated commands and runtime requests
  • better command generation for mixed OpenAPI 3 / Swagger 2 specs used in live regression tests

In practice this means ocli now handles a much larger set of POST/PUT/PATCH APIs correctly, including specs that define payloads outside simple query/path parameters.

- path-level params
- local $ref
- OAS3 requestBody
- Swagger2 body / formData
- header/cookie injection
@snow-ghost snow-ghost force-pushed the feat/openapi-spec-requestbody branch from 2243592 to 97e5fd9 Compare March 17, 2026 19:32
@EvilFreelancer EvilFreelancer merged commit b25e99c 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