---
title: "getMenu"
url: "https://kong-portal.millennia-solusi.xyz/apis/pizza-shackapi-1/versions/1ff7da65-7182-4ce7-a35c-b8a62959bbe2/operations/getMenu"
---

> Full API specification: https://kong-portal.millennia-solusi.xyz/apis/pizza-shackapi-1/versions/1ff7da65-7182-4ce7-a35c-b8a62959bbe2.md

# getMenu

`GET` `/menu`

Operation ID: `getMenu`

Return a list of available menu items

## Responses

- `200` - OK. List of APIs is returned.
- `406` - Not Acceptable. The requested media type is not supported

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: PizzaShackAPI
  version: 1.0.0
servers:
  - url: https://localhost:9443/am/sample/pizzashack/v1/api
    description: Production API server
    x-internal: false
paths:
  /menu:
    get:
      tags:
        - menu
      description: Return a list of available menu items
      operationId: getMenu
      responses:
        "200":
          description: OK. List of APIs is returned.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: "#/components/schemas/MenuItem"
        "406":
          description: Not Acceptable. The requested media type is not supported
          content:
            application/json:
              schema:
                $ref: "#/components/schemas/Error"
      security:
        - default: []
      x-auth-type: Application & Application User
      x-throttling-tier: Unlimited
      x-wso2-application-security:
        security-types:
          - oauth2
        optional: false
security:
  - default: []
components:
  schemas:
    MenuItem:
      title: Pizza menu Item
      required:
        - name
      properties:
        price:
          type: string
        description:
          type: string
        name:
          type: string
        image:
          type: string
    Error:
      title: Error object returned with 4XX HTTP status
      required:
        - code
        - message
      properties:
        message:
          type: string
          description: Error message.
        error:
          type: array
          description: If there are more than one error list them out. Ex. list out
            validation errors by each field.
          items:
            $ref: "#/components/schemas/ErrorListItem"
        description:
          type: string
          description: A detail description about the error message.
        code:
          type: integer
          format: int64
        moreInfo:
          type: string
          description: Preferably an url with more details about the error.
    ErrorListItem:
      title: Description of individual errors that may have occurred during a request.
      required:
        - code
        - message
      properties:
        message:
          type: string
          description: Description about individual errors occurred
        code:
          type: integer
          format: int64
  securitySchemes:
    default:
      type: oauth2
      flows:
        implicit:
          authorizationUrl: https://test.com
          scopes: {}
```
