emicklei / go-restful

package for building REST-style Web Services using Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Security is not exposed in RouteBuilder

wardab0104 opened this issue · comments

Hi,

Some of the endpoints we have does not need any authentication, so we want to remove the lock icon of these endpoints, but Security of an operation is not exposed in RouteBuilder, how can I achieve this?
image

@wardab0104 are you using the openapi extension with this package? go-restful itself does not have information about auth

sorry I'm not very familiar with this, we are using go-openapi and go-restful, I can see the Security property in OperationProps in go-openapi, but it's not exposed in RouteBuilder

sorry I'm not very familiar with this, we are using go-openapi and go-restful, I can see the Security property in OperationProps in go-openapi, but it's not exposed in RouteBuilder

Like I mentioned, go-restful itself does not have information about security (or any other auth) so there is nothing to expose. What do you expect? Operation info?

closed because no activity, feel free to reopen if needed.