Openapi Restxq Xquery OpenAPI Code Generator for RESTXQ This article introduces an XQuery library that allows code generation according to the OpenAPI 3.0.2 standard based on RESTXQ. It uses xqDoc as well as XQuery function annotation with %rest and %test prefix,