// nodeInfoHandler swagger:route Get /.well-known/nodeinfo discovery wellKnownNodeInfoReq
//
// webDIDHandler.
//
// Responses:
//    default: genericError
//        200: wellKnownNodeInfoResp
nodeInfoHandler swagger:route Get /.well-known/nodeinfo discovery wellKnownNodeInfoReq

webDIDHandler.

genericError
200: wellKnownNodeInfoResp
// nodeInfoHandler swagger : route Get / . well - known / nodeinfo discovery wellKnownNodeInfoReq // // webDIDHandler . // // Responses : // default : genericError // 200 : wellKnownNodeInfoResp
func (o *Operation) nodeInfoHandler(rw http.ResponseWriter, r *http.Request) {
	writeResponse(rw, &JRD{
		Links: []Link{
			{
				Rel:  nodeInfoV2_0Schema,
				Href: fmt.Sprintf("%s/nodeinfo/2.0", o.baseURL),
			},
			{
				Rel:  nodeInfoV2_1Schema,
				Href: fmt.Sprintf("%s/nodeinfo/2.1", o.baseURL),
			},
		},
	}, http.StatusOK)
}
func ( o * Operation ) nodeInfoHandler ( rw http . ResponseWriter , r * http . Request ) { writeResponse ( rw , & JRD { Links : [ ] Link { { Rel : nodeInfoV2_0Schema , Href : fmt . Sprintf ( " " , o . baseURL ) , } , { Rel : nodeInfoV2_1Schema , Href : fmt . Sprintf ( " " , o . baseURL ) , } , } , } , http . StatusOK ) }
nodeInfoHandler swagger:route Get /.well-known/nodeinfo discovery wellKnownNodeInfoReq
nodeInfoHandler swagger : route Get / . well - known / nodeinfo discovery wellKnownNodeInfoReq