openapi_mock_cli 0.0.1 copy "openapi_mock_cli: ^0.0.1" to clipboard
openapi_mock_cli: ^0.0.1 copied to clipboard

CLI for resolving OpenAPI example responses via openapi_mock.

openapi_mock_cli #

CLI for openapi_mock.

Usage #

dart run openapi_mock_cli --spec openapi.yaml --method GET --path /users/42

Options:

  • --spec: OpenAPI file path or URI (file://, http://, https://)
  • --method: HTTP method (default: GET)
  • --path: request path (example: /users/42)
  • --full: print full response object (statusCode, headers, body)

Default output is the mock response body as JSON.

1
likes
140
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

CLI for resolving OpenAPI example responses via openapi_mock.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, openapi_mock

More

Packages that depend on openapi_mock_cli