# Copyright (c) 2019 Oracle and/or its affiliates. All rights reserved.
# 
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#     http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# 
---
openapi: 3.0.0
info:
  title: Helidon SE OpenAPI second server 
  description: OpenAPI document for testing the second of two servers in an app

  version: 1.0.0

servers:
  - url: http://localhost:8001
    description: Local test server for time

paths:
  /timecheck:
    get:
      summary: Returns the current time
      description: Reports the time-of-day
      responses:
        '200':
          description: Simple JSON containing the time
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: 2019-08-01T12:34:56.987
  
