swagger-api / swagger-api/swagger-parser

Turning off swagger-parser logs?

Open
#1,861 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
867
Forks
560
Avg merge
2d 21h
Merged PRs (30d)
7

Description

As someone who isn't familiar with slf4j, I'm having a hard time finding how to stop swagger-parser from clogging my console with warning messages during my tests.
Maybe you could add a small section in the README for how to do that.
Personally, I tried to add a logback.xml and simplelogger.properties to my resources folder but neither seemed to work for me.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the README and investigate how swagger-parser's SLF4J warning messages are configured during tests. Check the attempted logback.xml and simplelogger.properties approaches in the resources folder, then document the working setup and verify that the README explains how to silence the warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.