Skip to content

Some thoughts regarding the ALPS descriptors and its OAS output #14

@nnworkspace

Description

@nnworkspace

Hi,

the artifacts I'm refering to are:

Action-vocabularies such as "listCompanies", "filterCompanies", "readCompany" etc. are fine as is at a conceptual level. Though I'd like to have a way to describe which parameters are mandatory and which are optional.

The oas output, however, does not quite look like best practices in the HTTP RESTful world. In the output oas file:

  1. It is almost a convention now to use GET "/companies" for the conceptual action "listCompanies".
  2. For the action "filterCompanies", in the alps file, there are four query parameters. But in the output file, no query parameters are specified. In addition, it is better to use GET "/companies?legalName=blah&addressCountry=blah&...." instead of GET "filterCompanies?......"
  3. Similar comments for the create/update/delete actions.

A very concise book which explains the most current best practices can be found here:
https://cloud.google.com/files/apigee/apigee-web-api-design-the-missing-link-ebook.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions