31 lines
717 B
Go
31 lines
717 B
Go
|
// Code generated by ogen, DO NOT EDIT.
|
||
|
|
||
|
package oas
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
ht "github.com/ogen-go/ogen/http"
|
||
|
)
|
||
|
|
||
|
// UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
|
||
|
type UnimplementedHandler struct{}
|
||
|
|
||
|
var _ Handler = UnimplementedHandler{}
|
||
|
|
||
|
// CreatePost implements POST /create operation.
|
||
|
//
|
||
|
// POST /create
|
||
|
func (UnimplementedHandler) CreatePost(ctx context.Context, req *CreatePostReq) (r CreatePostRes, _ error) {
|
||
|
return r, ht.ErrNotImplemented
|
||
|
}
|
||
|
|
||
|
// HashGet implements GET /{hash} operation.
|
||
|
//
|
||
|
// Redirect client to long URL.
|
||
|
//
|
||
|
// GET /{hash}
|
||
|
func (UnimplementedHandler) HashGet(ctx context.Context, params HashGetParams) (r HashGetRes, _ error) {
|
||
|
return r, ht.ErrNotImplemented
|
||
|
}
|