Skip to content

Format 1A7 Release: Lazy Referencing

Compare
Choose a tag to compare
@zdne zdne released this 20 Oct 15:02
· 203 commits to master since this release

This release brings the possibility to reference a Resource Model before its definition

For example:

# API

# Collection of Items [/items]
+ Model (application/json)

        [ { item 1 }, { item 2 } ]

## Create New Item [POST]
+ Request

    [Item][]

+ Response 200 

    [Collection of Items][]

# Item [/items/{id}]
+ Model (application/json)

        { item }

See #71