Skip to content

Commit 5ef8038

Browse files
committed
HDDS-10684.Removed the swagger ui functionality to configure server
1 parent 17790a4 commit 5ef8038

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

docs/05-administrator-guide/03-operations/09-observability/02-recon/02-recon-rest-api.mdx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,8 @@
22

33
import SwaggerUI from '@site/src/components/SwaggerUI';
44

5-
Ozone Recon's public **REST API** follows the [OpenAPI specification](https://www.openapis.org/), and is documented below. The docs are generated using [Swagger React UI](https://github.com/swagger-api/swagger-ui).
5+
Ozone Recon's public **REST API** follows the [OpenAPI specification](https://www.openapis.org/), and is documented below.
66

77
The API is defined in the [recon-api.yaml](/recon-api.yaml) OpenAPI specification file and is available under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).
88

9-
:::info
10-
**Interactive API Testing**
11-
12-
You can test these APIs directly from this page using the "Try it out" button on each endpoint.
13-
14-
- **Default server**: `http://localhost:9888` (matches the [Docker quick start guide](/docs/quick-start/installation/docker))
15-
- **Custom server**: Update the "Recon Server URL" field below to point to your own Recon instance
16-
:::
17-
189
<SwaggerUI spec="/recon-api.yaml" defaultServer="http://localhost:9888" />

src/components/SwaggerUI/styles.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
border-radius: 8px;
3030
padding: 20px;
3131
margin-bottom: 30px;
32-
display: flex;
32+
display: none; /* Hidden until CORS is configured on Recon server */
3333
align-items: center;
3434
gap: 15px;
3535
flex-wrap: wrap;

0 commit comments

Comments
 (0)