AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::oas::Parameter Struct Reference

OpenAPI 3.0 parameter object. More...

#include <spec.hpp>

Collaboration diagram for anch::oas::Parameter:

Public Attributes

std::optional< std::string > ref
std::string name
std::string in
std::optional< std::string > description
std::optional< bool > required
std::optional< anch::oas::Schema > schema

Detailed Description

OpenAPI 3.0 parameter object.

Since
0.2
Author
Vincent Lachenal

Member Data Documentation

◆ description

std::optional<std::string> anch::oas::Parameter::description

Description

◆ in

std::string anch::oas::Parameter::in

Location ( path , query , header or cookie )

◆ name

std::string anch::oas::Parameter::name

Name

◆ ref

std::optional<std::string> anch::oas::Parameter::ref

Reference ( $ref to #/components/parameters/ )

◆ required

std::optional<bool> anch::oas::Parameter::required

Parameter is required (always for path parameters)

◆ schema

std::optional<anch::oas::Schema> anch::oas::Parameter::schema

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