13 lines
445 B
C++
13 lines
445 B
C++
|
|
#pragma once
|
||
|
|
#include "common.hpp"
|
||
|
|
|
||
|
|
namespace freescan::contracts {
|
||
|
|
std::string action_for_path(const std::string &path);
|
||
|
|
Json routes();
|
||
|
|
Json export_formats();
|
||
|
|
void validate(const std::string &action, const Json &body);
|
||
|
|
size_t maximum_body_bytes(const std::string &action);
|
||
|
|
// Shared with SDK marshaling: accepts legacy .NET N/D/B/P/X forms and returns D.
|
||
|
|
std::string normalize_guid(const std::string &value);
|
||
|
|
} // namespace freescan::contracts
|