Skip to content
This repository has been archived by the owner on Jun 16, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (27 loc) · 1.22 KB

File metadata and controls

33 lines (27 loc) · 1.22 KB

Design First Workflow

first create a spec with editor or online tools

Possible Worklow

  1. Design first in editor
  2. generate mock server
  3. generate client
  4. create integration tests
  5. implement API
  6. test API with integration tests

###Example specs:

##helpful tools (incomplete list) ####mock server

  • api-mock – usage : api-mock blueprint.md
  • drakov – usage : drakov -f blueprint.md
  • raml-mockup – usage raml-mockup api.raml

####verify endpoints

  • abao – usage : abao api.raml http://localhost:8080/
  • dredd – usage : dredd blueprint.md http://localhost:8080

####codegen

  • raml to jaxrs – creates jersey interfaces – usage mvn generate-sources
  • swagger-codegen – creates server/client code – usage mvn swagger-codegen:generate

Noteworthy