# `Oaskit.Spec.Parameter`
[🔗](https://github.com/lud/oaskit/blob/v0.12.0/lib/oaskit/spec/parameter.ex#L1)

Representation of the [ Parameter Object](https://spec.openapis.org/oas/v3.1.1.html#parameter-object) in OpenAPI Specification.

# `from_controller!`

# `json_schema`

# `with_defaults`

Returns the given parameter with the expected default values for style and
explode.

Default style are:

* `:form` for query and cookie parameters
* `:simple` for header and path parameters

Default explode is `true` when the style is `:form`, `false` otherwise.

See [the
specifications](https://spec.openapis.org/oas/v3.1.2.html#parameter-object)
for more information.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
