Page MenuHomePhorge

info.ex
No OneTemporary

Size
820 B
Referenced Files
None
Subscribers
None
defmodule OpenApiSpex.Info do
@moduledoc """
Defines the `OpenApiSpex.Info.t` type.
"""
alias OpenApiSpex.{Contact, License}
@enforce_keys [:title, :version]
defstruct [
:title,
:description,
:termsOfService,
:contact,
:license,
:version,
:extensions
]
@typedoc """
[Info Object](https://swagger.io/specification/#infoObject)
The object provides metadata about the API. The metadata MAY be used by the clients if needed,
and MAY be presented in editing or documentation generation tools for convenience.
"""
@type t :: %__MODULE__{
title: String.t,
description: String.t | nil,
termsOfService: String.t | nil,
contact: Contact.t | nil,
license: License.t | nil,
version: String.t,
extensions: %{String.t() => String.t()} | nil,
}
end

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 7, 7:11 PM (5 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
700096
Default Alt Text
info.ex (820 B)

Event Timeline