Skip to content

Commit 9abc8c4

Browse files
DOC-10922 swagger load
1 parent 1ea857c commit 9abc8c4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

modules/hello-world/pages/sample-application.adoc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,3 +67,12 @@ The https://github.com/couchbaselabs/{travel-sample-git-project}/blob/HEAD/{trav
6767
include::{version-common}@sdk:shared:partial$sample-application.adoc[tag=data-model]
6868

6969
include::{version-common}@sdk:shared:partial$sample-application.adoc[tag=rest-api]
70+
71+
72+
// TODO: we don't use the partial here, because of the location of swagger.json
73+
// in try-cb-dotnet/wwwroot/
74+
== REST API
75+
76+
You can explore the REST API here in read-only mode, or once you are running the application, at the `/apidocs` endpoint.
77+
78+
swagger_ui::https://raw.githubusercontent.com/couchbaselabs/{travel-sample-git-project}/HEAD/try-cb-dotnet/wwwroot/swagger.json[]

0 commit comments

Comments
 (0)