Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

malczuuu/problem4j

Repository files navigation

Problem details for Java

Build Status

Simple Java library implementing RFC7807.

How to setup

  1. Include dependencies.

    Add JitPack dependency repository.

    repositories {
        maven { url "https://jitpack.io/" }
    }

    Add problem4j package.

    dependencies {
        implementation "io.github.malczuuu.problem4j:problem4j-core:2.0.0"
    
        // Optionally
        implementation "io.github.malczuuu.problem4j:problem4j-jackson:2.0.0"
    }

    Feel free to use any class from io.github.malczuuu.problem4j.core (and io.github.malczuuu.problem4j.jackson) packages. For integration with Spring Framework check this instruction.

How to setup with Spring

  1. Include dependencies.

    Add problem4j package.

    dependencies {
        implementation "io.github.malczuuu.problem4j:problem4j-spring-web:2.0.0"
    }
  2. Create configuration.

    import org.springframework.context.annotation.Configuration;
    import io.github.malczuuu.problem4j.spring.EnableProblem;
    
    @Configuration
    @EnableProblem
    public class ProblemConfiguration {
    }

About

Simple Java library implementing RFC7807. Archived after decomposing into three separate libraries.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages