huma icon indicating copy to clipboard operation
huma copied to clipboard

Bug: API doc hidden is not *real* hidden

Open jc-fireball opened this issue 1 year ago • 2 comments

The operation provide a hidden field that users can set to hide the endpoint from API documentation. However the is an broken feature, the corresponding schema will still display in the openapi spec. For example though the endpoint A is not in the doc, request/response schema definition will appear in the openapi spec.

jc-fireball avatar May 03 '24 23:05 jc-fireball

Nice catch! The schemas are used for validation, so I'll have to figure out how to hide them while still keeping them around to validate the request.

danielgtaylor avatar May 06 '24 15:05 danielgtaylor