OpenAPI 3.0 parameter object. More...
#include <spec.hpp>
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 |
OpenAPI 3.0 parameter object.
| std::optional<std::string> anch::oas::Parameter::description |
Description
| std::string anch::oas::Parameter::in |
Location ( path , query , header or cookie )
| std::string anch::oas::Parameter::name |
Name
| std::optional<std::string> anch::oas::Parameter::ref |
Reference ( $ref to #/components/parameters/ )
| std::optional<bool> anch::oas::Parameter::required |
Parameter is required (always for path parameters)
| std::optional<anch::oas::Schema> anch::oas::Parameter::schema |