|
| rapidjson::Value | mrs::rest::get_route_openapi_schema_path (const std::optional< uint32_t > privileges, DbObjectPtr entry, const std::string &url, const bool is_async, rapidjson::Document::AllocatorType &allocator) |
| | Create OpenAPI 'paths' section. More...
|
| |
| rapidjson::Value | mrs::rest::get_route_openapi_component (DbObjectPtr entry, rapidjson::Document::AllocatorType &allocator) |
| | Create OpenAPI components section containing security schemes and schemas (type information with constraints) for each db object passed as a parameter. More...
|
| |
| void | mrs::rest::get_procedure_metadata_component (rapidjson::Value &schema_properties, rapidjson::Document::AllocatorType &allocator) |
| | Create "_metadata" schema component item from a procedure call. More...
|
| |
| rapidjson::Value | mrs::rest::get_header_info (std::shared_ptr< DbService > service, rapidjson::Document::AllocatorType &allocator) |
| | Create OpenAPI title, version and description. More...
|
| |
| bool | mrs::rest::is_supported (const std::shared_ptr< mrs::database::entry::DbObject > &db_obj, const std::shared_ptr< mrs::database::entry::DbSchema > &db_schema) |
| | Check if the given DB Object entry can be used for getting an OpenAPI description. More...
|
| |
| rapidjson::Value | mrs::rest::get_security_scheme (rapidjson::Document::AllocatorType &allocator) |
| | Create security scheme for OpenAPI. More...
|
| |
| template<typename R > |
| std::vector< R * > | mrs::rest::sort_children_by_request_path (std::vector< std::shared_ptr< mrs::interface::EndpointBase > > children) |
| | Sort Endpoint children by request path. More...
|
| |
| bool | mrs::rest::async_enabled (const std::optional< std::string > &options) |
| | Check if asynchronous tasks are enabled in options. More...
|
| |
| rapidjson::Value | mrs::rest::add_task_id_endpoint (const std::optional< uint32_t > privileges, DbObjectPtr entry, rapidjson::Document::AllocatorType &allocator) |
| | Add specification related to endpoint responsible for async operations (located at /service/schema/object/{taskId}). More...
|
| |