Comments (7)
Hi,
I had started converting the petstore spec to openapi 3.0 but had not finished. 30 min before you posted this issue, I discovered your project and used it to convert the petstore.json file to openapi 3.0 spec :).
The next version of the petstore.json file in the test folder will be this version converted with your tool.
The converted file now highlight cases that we do not handle, I will work on this and commit updates in few hours.
from vue-openapi.
Ok, saw the problem in path /store/order/{orderId}.
There is something I'm missing in the spec. Schema seems not mandatory, but parameters should have a default type (string ?).
I didn't see your bug because I added a default schema in preprocessing. I will keep this default schema with a string type until this get more precise in the spec.
from vue-openapi.
That's very cool. Please do let me know if anything in the converted sample doesn't look right to you.
from vue-openapi.
Just to make you aware, spotted a (big) bug in the converter. parameter.type
has been removed, all parameters now need a schema
property if they are typed. Will let you know when examples updated.
from vue-openapi.
I agree, I think the spec should explicitly define untyped parameters as accepting a string with no defined format restrictions. Defining a schema seems the only way to set a default value etc.
from vue-openapi.
Converter/validator passing test suite again, as of v1.2.0.
from vue-openapi.
Updated the example file using the last version of your converter.
from vue-openapi.
Related Issues (12)
- Vue 2.2.* support? HOT 2
- Export Documentation to static HTML HOT 2
- Missing auth options/sections HOT 1
- Support for Vue2? HOT 2
- Support for vue 3.
- Improve schema display
- Specify body in requests
- Improve display of style and explode values for parameters
- "scope" attribute for scoped slots have been deprecated and replaced by "slot-scope" since 2.5 HOT 3
- Show full request url
- Improve display of request and response
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-openapi.