Skip to content

txhong/specifications-ITS-REST

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

specifications-ITS-REST

REST APIs Specifications. See working baseline of current openEHR specifications.

Specifications are written in API Blueprint format. Latest version is rendered as HTML pages at https://openehr.github.io/specifications-ITS-REST.

Building Documentation

The HTML pages are building using aglio in a Docker container.

  1. Build the docker image using:

$ docker build -t rest-api-doc .
  1. Build the whole documentation running:

$ docker run -v "$(pwd):/project" -t rest-api-doc
  1. Or build a single HTML page (e.g. the ehr.html), supplying all necessary parameters to aglio:

$ docker run --rm -v "$(pwd):/project" rest-api-doc aglio \
    --theme-template /project/src/templates/openehr.jade \
    --theme-full-width \
    --theme-variables /project/src/styles/variables-default.less \
    --theme-style /project/src/styles/layout-default.less \
    --theme-style /project/src/styles/layout-openEHR.less \
    -i /project/src/ehr.apib \
    -o /project/docs/ehr.html
  1. (See more usage info on https://github.com/danielgtaylor/aglio#executable)

  2. View the rendered docs in the docs/ folder.

Packages

No packages published

Languages

  • API Blueprint 67.6%
  • CSS 17.9%
  • HTML 9.9%
  • JavaScript 4.2%
  • Other 0.4%