Skip to content

Commit e4cc47a

Browse files
navingerkurtisvg
authored andcommitted
Remove basePath from endpoint samples. (#1077)
1 parent ef8c4dd commit e4cc47a

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

endpoints/getting-started/openapi-appengine.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ info:
2020
version: "1.0.0"
2121
host: "YOUR-PROJECT-ID.appspot.com"
2222
# [END swagger]
23-
basePath: "/"
2423
consumes:
2524
- "application/json"
2625
produces:

endpoints/getting-started/openapi.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ info:
2020
version: "1.0.0"
2121
host: "echo-api.endpoints.YOUR-PROJECT-ID.cloud.goog"
2222
# [END swagger]
23-
basePath: "/"
2423
consumes:
2524
- "application/json"
2625
produces:

endpoints/getting-started/src/main/java/com/example/endpoints/AuthInfoServlet.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2015 Google Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
1718
package com.example.endpoints;
1819

1920
import com.google.gson.Gson;

endpoints/getting-started/src/main/java/com/example/endpoints/EchoServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Copyright 2015 Google Inc.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");

0 commit comments

Comments
 (0)