forked from loafle/openapi-generator-original
* fix(rust): simplify None logic Used to be a code path (where isFreeFormObject and something else) where we could end up with two `: None` `: None`'s This does add the None for the !required && !isArray && !isMap && !isNullable case (where nothing would have been printed before. Above for the type on the individual vars inside the struct definition the logic is simply if not required then it's optional. If it's optional we want a None when creating a new struct. * ci: add tests for failure
747 B
747 B
\DefaultApi
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
endpoint_get | Get /endpoint | Get endpoint |
endpoint_get
crate::models::EmptyObject endpoint_get() Get endpoint
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]