Giter Club home page Giter Club logo

openapi's People

Contributors

beardimonr avatar bigorn0 avatar chulanovskyi-bs avatar dannleed avatar kostia1359 avatar lenchvolodymyr avatar mtseluiko avatar pdesmarets avatar sahanr avatar serhii-filonenko avatar taras-dubyk avatar thomas-jakemeyn avatar vitalii4as avatar vitaliibedletskyi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openapi's Issues

Swagger/Open API Path extensions (i.e., 'x-') not being generated during forward engineering.

Attached is a Hackolade file with extension tests for forward engineering tests. Another test is to add path/operation extensions to an existing OpenAPI file and reverse engineer then forward engineer to a different file for comparison.

Hackoldade properly reverse engineers all swagger/OpenAPI structure extensions.
However, the path and many of its subset structure extensions are not forward engineered. I tried numerous test variations with no luck. Hoping it's due to a new user error, please advise.

Looked at the following file to see if path extensions were being handled during forward engineering:  
/forward_engineering/helpers/pathHelper.js 
'const extensions = getExtensions(data.operationExtensions);'

Thanks in advance.
api-with-path-extensions.zip

OpenAPI Package.json - Name Does Not Match RegEx

I was on thin intellectual ice with my last issue and this one is thinner still, so I beg your indulgence.
But I cloned the OpenAPI Git project to a local repo. Then I pointed VSCode at it.
VSCode reported:
"String does not match the pattern of "^(?:@[a-z0-9-~][a-z0-9-.]*/)?[a-z0-9-][a-z0-9-.~]*$"."
on this bit of JSON:
"name": "OpenAPI",
I copy and pasted the RegEx into a RegEx web validation tool and it said: (https://regex101.com/)
"/ An unescaped delimiter must be escaped with a backslash ()"
RegEx 101 seems to thinks there is something wrong with the forward slash after the asterisk and before the right parenthesis.
VSCode thinks there is something wrong with "OpenAPI" based on the RegEx being right.
If I add the backslash escape recommended by RegEx101 it does not match the string "OpenAPI" in the tool.
I have no idea from where the RegEx originated and of course no idea how to fix it.
Is it self-inflicted? Was there a problem with the way I cloned the Git Project? Or is there something deeper?
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.