Skip to content

reta/jax-rs-2.1-hateaos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using HATEOAS with JAX-RS 2.1 and OpenAPI v3.0.0 specification

  • Build and run

    mvn clean package 
    java -jar target/jax-rs-2.1-hateaos-0.0.1-SNAPSHOT.jar
    
  • Play with API using Swagger UI

    http://localhost:8080/api/api-docs
    
  • Play with API using curl

    curl -i http://localhost:8080/api/companies
    
    curl -i http://localhost:8080/api/companies/1
    
    curl -i http://localhost:8080/api/companies/1/staff
    
  • More links

About

Using HATEOAS with JAX-RS 2.1 and OpenAPI v3.0.0 specification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages