v1
latestOpenAPI 3.0.42026-07-264372153.8 KBOpenApi
Generate Go net/http client from OpenAPI spec
post/api/openapi/go-nethttp
Request body
openApiSpecstring nullable
Inline OpenAPI spec content (YAML or JSON). Either this or OpenApiSpecUrl is required.
openApiSpecUrlstring nullable
URL to fetch the OpenAPI spec from. Either this or OpenApiSpec is required.
strictValidationboolean nullable
documentationboolean nullable
optionsObjectThresholdinteger nullable
typeMappingsobject nullable
Override the target language type for an OpenAPI primitive/format. Keys are mapping slugs (int64, decimal, date-time, date) — see TypeMappingRegistry for accepted slug→target combos.
includeTagsstring[] nullable
Only generate operations whose service tag matches one of these values (case-insensitive).
moduleNamestring nullable required
packageNamestring nullable required
useContextboolean nullable
usePointersForOmittableboolean nullable
useValidateStructTagsboolean nullable
baseUrlEnvVarstring nullable
Response
OK
executionTimeInMillisecondsinteger
warningsstring[] nullable