mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-04 01:42:44 +00:00
openapigen: support for 204 No Content endpoints
This commit is contained in:
parent
b257fe60aa
commit
77cb5d5957
66 changed files with 6169 additions and 84 deletions
|
@ -457,7 +457,11 @@ void generateFileForEndpoints(ref const Node[] endpointNodes,
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (codeNo == 204 /* No content */) {
|
||||
endpoint.resultType = "void";
|
||||
endpoint.hasSuccessResponse = true;
|
||||
}
|
||||
}
|
||||
|
||||
if ("requestBody" in endpointNode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue