openapi validation question

Open
#95 6 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing validation of the attached PFM_User_Dots.json with openapi-parser and compare its result with the other reported tools. Check the OpenAPI 3 schema-name constraint and determine whether the parser should reject ResponsePayloadByte[]; done means explaining the discrepancy or documenting a confirmed validation defect.

Written by the indexing model from the issue text.

Description

hi i am trying to validate an openapi 3 file, json format,

using other tools i got
{"errors":[{"code":400,"message":"Malformed OAS3 document: attribute components.schemas.Schema name ResponsePayloadByte[] doesn't adhere to regular expression ^[a-zA-Z0-9\.\-_]+$"}

and also this stuff
https://quobix.com/vacuum/
return some validation error.

if i try using openapi-parser lib inside a java app, i don't get any validation error, the file is correctly parsed and it work fine.

am i missing anything? shouldn't it fail?

i am attaching file that give error

thanks

PFM_User_Dots.json

Dominant language
Java
Stars
27
Forks
2
Avg merge
3d 19h
Merged PRs (30d)
13

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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.

More from openapi-processor/openapi-parser

All issues in openapi-processor/openapi-parser

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.