cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_openapi_meta_t Struct Reference

Per-application metadata for the generated OpenAPI document. More...

#include <openapi.h>

Public Attributes

const char * title
 
const char * version
 
const char * description
 
const char * server_url
 

Detailed Description

Per-application metadata for the generated OpenAPI document.

Every field is optional: NULL title/version fall back to "CWIST API" and "1.0.0", NULL server_url to "/". The strings are copied.

Definition at line 44 of file openapi.h.

Member Data Documentation

◆ description

const char* cwist_openapi_meta_t::description

Optional description (info.description).

Definition at line 47 of file openapi.h.

◆ server_url

const char* cwist_openapi_meta_t::server_url

Optional server URL; defaults to "/".

Definition at line 48 of file openapi.h.

◆ title

const char* cwist_openapi_meta_t::title

API title (info.title).

Definition at line 45 of file openapi.h.

◆ version

const char* cwist_openapi_meta_t::version

API version string, e.g. "1.0.0".

Definition at line 46 of file openapi.h.


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