Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The servers object should look like this (API Guidelines section 11.1):

servers:

  - url: {apiRoot}/yourapiname/v0.yrc1 or v1rc1

...

      apiRoot:

        default: http://localhost:9091

        description: API root, defined by the service provider, e.g. `api.example.com` or `api.example.com/somepath`

M3: How to put the reference to commonalities in the info object ?

In your API yaml file, in the info object, under the version field, please make sure to add: x-camara-commonalities: 0.4.0

`NOTENOTE: the fields `termsOfService` and `contact` are optional and can be removed. They are put in italics below.

example:

`infoinfo:

  title: One Time Password SMS

...

    url: https://www.apache.org/licenses/LICENSE-2.0.html`