Skip to content

Spec says ServerObject always needs a name, not all examples follow this detail of the spec #647

@Simon-Laux

Description

@Simon-Laux

The spec states that the name field of the Server object is required, but the following 3 examples of this repo don't have it set.
Is the spec wrong here or are the examples wrong?

Examples:

params-by-name-petstore-openrpc.json

  "servers": [
    {
      "url": "http://localhost:8080"
    }
  ],

petstore-expanded-openrpc.json

  "servers": [
    {
      "url": "http://petstore.open-rpc.org"
    }
  ],

petstore-openrpc.json

  "servers": [
    {
      "url": "http://localhost:8080"
    }
  ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions