swagger-api / swagger-api/swagger-ui

Validation Error: openapi: 3.1.0 Not Accepted by Swagger Editor

Open
#10,489 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
29k
Forks
9.3k
Avg merge
2d 23h
Merged PRs (30d)
25

Description

I used dependency

   <dependency>
      <groupId>org.springdoc</groupId>
      <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
      <version>2.8.8</version>
   </dependency>

from https://springdoc.org/

openapi: 3.1.0 is not supported

Image

Error

Structural error at openapi
should match pattern "^3\.0\.\d(-.+)?$"
pattern: ^3\.0\.\d(-.+)?$
Jump to line 1

Environment

  • Browser: Brave
  • Search Engine: DuckDuckGo
  • Tool: Swagger Editor (online at https://editor.swagger.io)
  • OpenAPI Spec Version: 3.1.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the validation error in the online Swagger Editor using the OpenAPI 3.1.0 specification described in the issue. Then locate the repository's OpenAPI version validation entry point and any related tests; done means a valid 3.1.0 document is accepted without regressing existing 3.0 validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, openapi
Domain
api, documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.