Skip to content

Provide a Gradle plugin that applies REST Docs' configuration conventions #625

Open
@wilkinsona

Description

@wilkinsona

When you use REST Docs with Gradle there are a few things that need to be configured:

  1. snippetsDir extra property
  2. Additional output directory on the test task that points to the snippets directory

When you're also using Asciidoctor the following also needs to be configured:

  1. spring-restdocs-asciidoctor extension
  2. Additional input directory on the asciidoctor task that points to the snippets directory
  3. A dependency on the test task from the asciidoctor task

This configuration could be encapsulated in a plugin that applies these conventions, or a variant of them, automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementEnhancement that adds a new feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions