Skip to content

Commit

Permalink
removes endpoint entry in the service configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed May 17, 2023
1 parent 5d18533 commit df1a3e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions adr/ADR-32.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ Service configuration relies on the following:
- `statsHandler` - an optional function that returns unknown data that can be
serialized as JSON. The handler will be provided the endpoint for which it is
building a `EndpointStats`
- `endpoint` - an optional base endpoint configuration, consisting of valid NATS
subject, handler and optional request/response schema. The `name` of the base
endpoint should be set to `default` by the client libraries.

All services are created using a function called `addService()` where the above
options are passed. The function returns an object/struct that represents the
Expand Down Expand Up @@ -150,7 +147,7 @@ The type for this is `io.nats.micro.v1.info_response`.

### PING

Returns the following schema (the standard response fields)
Returns the following JSON (the standard response fields)

```typescript
{
Expand Down

0 comments on commit df1a3e4

Please sign in to comment.