#include <OpenApi.hpp>
◆ OpenApiRegistry()
| orbit::openapi::OpenApiRegistry::OpenApiRegistry |
( |
| ) |
|
|
default |
◆ escape_json()
| std::string orbit::openapi::OpenApiRegistry::escape_json |
( |
const std::string & |
s | ) |
const |
|
private |
◆ generate_swagger_json()
| std::string orbit::openapi::OpenApiRegistry::generate_swagger_json |
( |
const std::string & |
title, |
|
|
const std::string & |
version |
|
) |
| const |
◆ instance()
Process-wide registry. Schemas registered here are included in every App's spec, so code written before per-App registries keeps working.
◆ method_to_string()
| std::string orbit::openapi::OpenApiRegistry::method_to_string |
( |
http::HttpMethod |
method | ) |
const |
|
private |
◆ register_route()
◆ register_schema()
| void orbit::openapi::OpenApiRegistry::register_schema |
( |
const std::string & |
name, |
|
|
const std::string & |
json_schema_body |
|
) |
| |
◆ mutex_
| std::mutex orbit::openapi::OpenApiRegistry::mutex_ |
|
mutableprivate |
◆ paths_
| std::map<std::string, EndpointMap> orbit::openapi::OpenApiRegistry::paths_ |
|
private |
◆ schemas_
| std::unordered_map<std::string, std::string> orbit::openapi::OpenApiRegistry::schemas_ |
|
private |
The documentation for this class was generated from the following file: