apidoc-example-union-types 0.3.46

  • Contact: N/A
  • License: N/A

Resources

user

Operations

Method and Path Description
GET /users
GET /users/:guid
POST /users

Headers

No headers

Imports

No imports

Enums

bar

b

foo

a

Models

guest_user

Example Json: Minimal | Full
Field Type Required? Default Description
guid uuid Yes -

Internal unique identifier for this user.

email string Yes -

registered_user

Example Json: Minimal | Full
Field Type Required? Default Description
guid uuid Yes -

Internal unique identifier for this user.

email string Yes -

preference foobar Yes -

Unions

foobar

Example Json: Minimal | Full
  • Type discriminator: N/A
foo
bar

user

Example Json: Minimal | Full
  • Type discriminator: N/A
registered_user
guest_user
uuid