@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api papiNet API
@base https://papinet.papinet.io
@version 1.0.0
@endpoints 2
@toc orders(2)

@endpoint GET /orders
@optional {orderStatus: str(Active/Cancelled/Completed), offset: str, limit: str}
@returns(200) {orders: [map], links: map{first: map{href: str}, prev: map{href: str}, next: map{href: str}, last: map{href: str}}}

@endpoint GET /orders/{orderId}
@required {orderId: str(uuid)}
@returns(200)

@end
