Skip to content

docs: openapi specs #44

@kenjones-cisco

Description

@kenjones-cisco

Provides clear documentation of each API and how to use them that is not tied to any specific vendor or technology.

There are tools that can consume the spec and generate the server component and the client component. go-swagger

Also tools for displaying the spec as html, and allows for interacting with the API if server is available.

nsqlookupd APIs as example:
https://gist.github.com/kenjones-cisco/5b36a7c54ddd548264178ca657e00bd7

To view an HTML representation of the example nsqlookupd spec provided, copy the yml file into the Swagger Editor to visually see what the documentation could look like.

Tasks:

  • Create API spec for nsqd
  • Create API spec for nsqlookupd
  • Create API spec for nsqadmin
  • Use specs for documentation on http://nsq.io

Considerations:

  • Apply REST API patterns for APIs
  • Evaluate code generation for Server components
  • Evaluate code generation for Client components

References:

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