@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Barcode API
@base http://api.fungenerators.com
@version 1.5
@auth Bearer bearer
@endpoints 4
@toc barcode(4)

@endpoint GET /barcode/encode/types
@returns(200)
@errors {401}

@endpoint GET /barcode/encode
@required {number: str(string)}
@optional {barcodeformat: str(string), outputformat: str(string), widthfactor: int(integer), totalheight: int(integer)}
@returns(200)
@errors {401}

@endpoint GET /barcode/decode/types
@returns(200)
@errors {401}

@endpoint POST /barcode/decode
@returns(200)
@errors {401}

@end
