File tree Expand file tree Collapse file tree 7 files changed +16
-13
lines changed Expand file tree Collapse file tree 7 files changed +16
-13
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import (
4
4
"log"
5
5
"net/http"
6
6
7
- "github.com/speakeasy-api/speakeasy-auth -test-service/internal/pagination"
8
- "github.com/speakeasy-api/speakeasy-auth -test-service/internal/responseHeaders"
9
- "github.com/speakeasy-api/speakeasy-auth -test-service/internal/retries"
7
+ "github.com/speakeasy-api/speakeasy-api -test-service/internal/pagination"
8
+ "github.com/speakeasy-api/speakeasy-api -test-service/internal/responseHeaders"
9
+ "github.com/speakeasy-api/speakeasy-api -test-service/internal/retries"
10
10
11
11
"github.com/gorilla/mux"
12
- "github.com/speakeasy-api/speakeasy-auth -test-service/internal/auth"
13
- "github.com/speakeasy-api/speakeasy-auth -test-service/internal/requestbody"
12
+ "github.com/speakeasy-api/speakeasy-api -test-service/internal/auth"
13
+ "github.com/speakeasy-api/speakeasy-api -test-service/internal/requestbody"
14
14
)
15
15
16
16
func main () {
Original file line number Diff line number Diff line change 1
- module github.com/speakeasy-api/speakeasy-auth -test-service
1
+ module github.com/speakeasy-api/speakeasy-api -test-service
2
2
3
3
go 1.19
4
4
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"net/http"
7
7
8
- "github.com/speakeasy-api/speakeasy-auth -test-service/pkg/models"
8
+ "github.com/speakeasy-api/speakeasy-api -test-service/pkg/models"
9
9
)
10
10
11
11
var authError = errors .New ("invalid auth" )
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ package auth
2
2
3
3
import (
4
4
"encoding/json"
5
- "github.com/speakeasy-api/speakeasy-auth-test-service/internal/utils"
6
5
"io"
7
6
"net/http"
8
7
9
- "github.com/speakeasy-api/speakeasy-auth-test-service/pkg/models"
8
+ "github.com/speakeasy-api/speakeasy-api-test-service/internal/utils"
9
+
10
+ "github.com/speakeasy-api/speakeasy-api-test-service/pkg/models"
10
11
)
11
12
12
13
func HandleAuth (w http.ResponseWriter , r * http.Request ) {
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package requestbody
2
2
3
3
import (
4
4
"encoding/json"
5
- "github.com/speakeasy-api/speakeasy-auth-test-service/internal/utils"
6
5
"io"
7
6
"net/http"
7
+
8
+ "github.com/speakeasy-api/speakeasy-api-test-service/internal/utils"
8
9
)
9
10
10
11
func HandleRequestBody (w http.ResponseWriter , r * http.Request ) {
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ package responseHeaders
2
2
3
3
import (
4
4
"encoding/json"
5
- "github.com/speakeasy-api/speakeasy-auth-test-service/internal/utils"
6
5
"net/http"
6
+
7
+ "github.com/speakeasy-api/speakeasy-api-test-service/internal/utils"
7
8
)
8
9
9
10
func HandleVendorJsonResponseHeaders (w http.ResponseWriter , r * http.Request ) {
10
-
11
11
var obj interface {}
12
12
13
13
err := json .Unmarshal ([]byte ("{\" name\" :\" Panda\" }" ), & obj )
Original file line number Diff line number Diff line change @@ -3,9 +3,10 @@ package utils
3
3
import (
4
4
"encoding/json"
5
5
"errors"
6
- "github.com/speakeasy-api/speakeasy-auth-test-service/pkg/models"
7
6
"log"
8
7
"net/http"
8
+
9
+ "github.com/speakeasy-api/speakeasy-api-test-service/pkg/models"
9
10
)
10
11
11
12
var authError = errors .New ("invalid auth" )
You can’t perform that action at this time.
0 commit comments