Skip to content

make operation parameter "schema" property easier to understand #1

@chrisckchang

Description

@chrisckchang

It's not clear that "who" is actually of type Operation Parameter- the user may be left wondering why schema: { type: 'string' } is used as opposed to type: 'string'.

get: {
          parameters: { 
            who: {
              location: 'query',
              required: false,
              default: 'world',
              schema: { type: 'string' }
            }
          }

Maybe we can do an example where the operation parameter consists of multiple properties? Or improve documentation around this.

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