MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / extParseGoJsonIgnore

Function extParseGoJsonIgnore

pkg/codegen/extension.go:94–100  ·  view source on GitHub ↗
(extPropValue any)

Source from the content-addressed store, hash-verified

92}
93
94func extParseGoJsonIgnore(extPropValue any) (bool, error) {
95 goJsonIgnore, ok := extPropValue.(bool)
96 if !ok {
97 return false, fmt.Errorf("failed to convert type: %T", extPropValue)
98 }
99 return goJsonIgnore, nil
100}
101
102func extParseEnumVarNames(extPropValue any) ([]string, error) {
103 namesI, ok := extPropValue.([]any)

Callers 1

GenFieldsFromPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected