CCF
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ccf::endpoints::PathTemplatedEndpoint Struct Reference

#include <endpoint_registry.h>

Inherits ccf::endpoints::Endpoint.

Public Member Functions

 PathTemplatedEndpoint (const Endpoint &e)
 
- Public Member Functions inherited from ccf::endpoints::Endpoint
Endpointset_openapi_description (const std::string &description)
 
Endpointset_openapi_summary (const std::string &summary)
 
Endpointset_openapi_deprecated (bool is_deprecated)
 
Endpointset_openapi_deprecated_replaced (const std::string &deprecation_version, const std::string &replacement)
 
Endpointset_openapi_hidden (bool hidden)
 
Endpointset_params_schema (const nlohmann::json &j)
 
Endpointset_result_schema (const nlohmann::json &j, std::optional< http_status > status=std::nullopt)
 
template<typename In , typename Out >
Endpointset_auto_schema (std::optional< http_status > status=std::nullopt)
 
template<typename T >
Endpointset_auto_schema (std::optional< http_status > status=std::nullopt)
 
template<typename T >
Endpointadd_query_parameter (const std::string &param_name, QueryParamPresence presence=RequiredParameter)
 
Endpointset_forwarding_required (ForwardingRequired fr)
 
Endpointset_redirection_strategy (RedirectionStrategy rs)
 
void install ()
 
- Public Member Functions inherited from ccf::endpoints::EndpointDefinition
virtual ~EndpointDefinition ()=default
 

Public Attributes

PathTemplateSpec spec
 
- Public Attributes inherited from ccf::endpoints::Endpoint
EndpointFunction func = {}
 
LocallyCommittedEndpointFunction locally_committed_func = {}
 
Installerinstaller
 
std::vector< SchemaBuilderFnschema_builders = {}
 
bool openapi_hidden = false
 
http_status success_status = HTTP_STATUS_OK
 
nlohmann::json params_schema = nullptr
 
nlohmann::json result_schema = nullptr
 
std::optional< std::string > openapi_summary = std::nullopt
 
std::optional< std::string > openapi_description = std::nullopt
 
std::optional< bool > openapi_deprecated = std::nullopt
 
- Public Attributes inherited from ccf::endpoints::EndpointDefinition
EndpointKey dispatch
 
URI full_uri_path
 Full URI path to endpoint, including method prefix.
 
EndpointProperties properties
 
AuthnPolicies authn_policies
 

Additional Inherited Members

- Public Types inherited from ccf::endpoints::Endpoint
using SchemaBuilderFn = std::function< void(nlohmann::json &, const Endpoint &)>
 

Constructor & Destructor Documentation

◆ PathTemplatedEndpoint()

ccf::endpoints::PathTemplatedEndpoint::PathTemplatedEndpoint ( const Endpoint e)
inline

Member Data Documentation

◆ spec

PathTemplateSpec ccf::endpoints::PathTemplatedEndpoint::spec

The documentation for this struct was generated from the following file: