Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Simon-Laux opened this issue May 17, 2023 · 0 comments

Comments

@Simon-Laux
Copy link

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"
    }
  ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant