Skip to content

Fails to identify OpenAPI 3.0.0 file #8

Description

@luisgarciaalanis

line one of my yaml file has:
openapi: 3.0.0

And I get the error:
Swagger Error
Missing required property: swagger

am I missing something?

openapi: 3.0.0
info:
description: "Endpoints for the application."
version: "1.0.0"
title: "api's"
basePath: "/apis/v1"
schemes:

  • "http"
    paths:
    /login:
    post:
    description: "login"
    consumes:
    • "application/json"
      produces:
    • "application/json"
      responses:
      "401":
      $ref: '#/components/responses/UnauthorizedError'
      components:
      responses:
      UnauthorizedError:
      description: Authentication information is missing or invalid
      headers:
      WWW_Authenticate:
      schema:
      type: string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions