work on auto-generating parts of docs from JSONSchema

This commit is contained in:
Joel Wetzell
2026-06-01 18:03:47 -05:00
parent e22e25afe2
commit f82b55963b
67 changed files with 2471 additions and 257 deletions
+5 -7
View File
@@ -4,22 +4,20 @@ sidebar:
label: Server
order: 2
---
import SchemaInfo from '../../../../components/SchemaInfo.astro';
This module starts a NATS server that listens for incoming connections.
- **type**: `nats.server`
- **params**:
- **ip**: (optional) the IP address to bind the server to defaults to `0.0.0.0`
- **port**: (optional) the port to listen on defaults to `4222`
<SchemaInfo type="module" id="nats.server"></SchemaInfo>
### Example
Start a local NATS server listening on port 5555
```yaml
- id: httpServer
type: http.server
- id: natsServer
type: nats.server
params:
ip: 127.0.0.1
port: 5555
port: 4222
```