Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2698007
info.ex
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
751 B
Referenced Files
None
Subscribers
None
info.ex
View Options
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
]
@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
}
end
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 18, 7:47 AM (1 d, 14 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
261448
Default Alt Text
info.ex (751 B)
Attached To
Mode
R22 open_api_spex
Attached
Detach File
Event Timeline
Log In to Comment