| Package | Description |
|---|---|
| com.linecorp.armeria.server.docs |
Documentation service.
|
| Modifier and Type | Method and Description |
|---|---|
Set<ServiceInfo> |
ServiceSpecification.services()
Returns the metadata about the services in this specification.
|
| Modifier and Type | Method and Description |
|---|---|
static ServiceSpecification |
ServiceSpecification.generate(Iterable<ServiceInfo> services,
Function<TypeSignature,? extends NamedTypeInfo> namedTypeInfoFactory)
Generates a new
ServiceSpecification from the specified ServiceInfos and
the factory Function that creates NamedTypeInfos for the enum, struct or exception types
referred by the specified ServiceInfos. |
| Constructor and Description |
|---|
ServiceSpecification(Iterable<ServiceInfo> services,
Iterable<EnumInfo> enums,
Iterable<StructInfo> structs,
Iterable<ExceptionInfo> exceptions)
Creates a new instance.
|
ServiceSpecification(Iterable<ServiceInfo> services,
Iterable<EnumInfo> enums,
Iterable<StructInfo> structs,
Iterable<ExceptionInfo> exceptions,
Iterable<HttpHeaders> exampleHttpHeaders)
Creates a new instance.
|
Copyright © 2020 LeanCloud. All rights reserved.