Package io.muserver.openapi
Class InfoObject
- java.lang.Object
-
- io.muserver.openapi.InfoObject
-
public class InfoObject extends java.lang.Object
- See Also:
InfoObjectBuilder
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContactObject
contact()
java.lang.String
description()
LicenseObject
license()
java.net.URI
termsOfService()
java.lang.String
title()
java.lang.String
version()
void
writeJson(java.io.Writer writer)
-
-
-
Method Detail
-
writeJson
public void writeJson(java.io.Writer writer) throws java.io.IOException
- Throws:
java.io.IOException
-
title
public java.lang.String title()
- Returns:
- the value described by
InfoObjectBuilder.withTitle(java.lang.String)
-
description
public java.lang.String description()
- Returns:
- the value described by
InfoObjectBuilder.withDescription(java.lang.String)
-
termsOfService
public java.net.URI termsOfService()
- Returns:
- the value described by
InfoObjectBuilder.withTermsOfService(java.net.URI)
-
contact
public ContactObject contact()
- Returns:
- the value described by
InfoObjectBuilder.withContact(io.muserver.openapi.ContactObject)
-
license
public LicenseObject license()
- Returns:
- the value described by
InfoObjectBuilder.withLicense(io.muserver.openapi.LicenseObject)
-
version
public java.lang.String version()
- Returns:
- the value described by
InfoObjectBuilder.withVersion(java.lang.String)
-
-