Skip to content

doc: cria documentação da api - #75

Merged
lucasbdourado merged 1 commit into
masterfrom
57-criar-documentacao-api
Dec 6, 2025
Merged

lucasbdourado merged 1 commit into
masterfrom
57-criar-documentacao-api

Conversation

@JoaoVictorGI

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings December 4, 2025 19:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive API documentation for the Reminder API using Spring REST Docs. The documentation is generated automatically from controller tests and is available in both English and Portuguese.

  • Integrates Spring REST Docs into the test suite to generate API documentation snippets
  • Creates bilingual AsciiDoc documentation files covering all reminder CRUD operations and error scenarios
  • Adds the necessary Maven dependency and configuration for documentation generation

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
src/test/java/br/com/springnoobs/reminderapi/reminder/controller/ReminderControllerTest.java Added @AutoConfigureRestDocs annotation and document() calls to all test methods to generate REST Docs snippets; refactored imports to use wildcard for MockMvcRequestBuilders
src/docs/asciidoc/index-pt-BR.adoc Created Portuguese API documentation with complete coverage of all endpoints, HTTP verbs, status codes, and example requests/responses
src/docs/asciidoc/index-en-US.adoc Created English API documentation mirroring the Portuguese version with consistent structure and content
pom.xml Added spring-restdocs.version property (3.0.5) and cleaned up indentation for quartz dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lucasbdourado
lucasbdourado self-requested a review December 6, 2025 15:00
@lucasbdourado lucasbdourado self-assigned this Dec 6, 2025
@lucasbdourado
lucasbdourado merged commit 2adca0b into master Dec 6, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants