Skip to content

Commit 4770caa

Browse files
DOC-10922 swagger load
1 parent f490fcd commit 4770caa

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,12 @@ Here, the _flights_ array, containing the flight IDs, is converted to actual obj
9898
include::{version-common}@sdk:shared:partial$sample-application.adoc[tag=data-model]
9999

100100
include::{version-common}@sdk:shared:partial$sample-application.adoc[tag=rest-api]
101+
102+
103+
// TODO: we don't use the partial here, because of the location of swagger.json
104+
// in try-cb-dotnet/wwwroot/
105+
== REST API
106+
107+
You can explore the REST API here in read-only mode, or once you are running the application, at the `/apidocs` endpoint.
108+
109+
swagger_ui::https://raw.githubusercontent.com/couchbaselabs/{travel-sample-git-project}/HEAD/try-cb-dotnet/wwwroot/swagger.json[]

0 commit comments

Comments
 (0)