Package org.springframework.restdocs.snippet
package org.springframework.restdocs.snippet
Snippet generation.
-
ClassDescriptionAbstractDescriptor<T extends AbstractDescriptor<T>>Base class for descriptors.A fluent API for building a map of attributes.An attribute (key-value pair).A simple builder for an attribute (key-value pair).IgnorableDescriptor<T extends IgnorableDescriptor<T>>Base class for descriptors for items that can be ignored.An exception that can be thrown by a
TemplatedSnippet
to indicate that a failure has occurred during model creation.A factory for creatingPropertyPlaceholderHelper.PlaceholderResolver
instances.APropertyPlaceholderHelper.PlaceholderResolver
that resolves placeholders using aRestDocumentationContext
.APlaceholderResolverFactory
that createsRestDocumentationContextPlaceholderResolver
instances.ASnippet
is used to document aspects of a call to a RESTful API.ARuntimeException
thrown to indicate a problem with the generation of a documentation snippet.Standard implementation ofWriterResolver
.AWriterResolver
is used to access theWriter
that should be used to write a snippet for an operation that is being documented.