Comments (8)
The Format should be shown if it is included in the Swagger Model generated by swagger-parser. If the Format is missing, it might be a missing feature in the parser. Please open an issue in the other project.
from swagger2markup.
The "format" is present in the Swagger spec passed to Swagger2MarkupConverter.fromString.
from swagger2markup.
Also in the Java Swagger Model object created by the swagger-parser in Line 116?
Unfortunately I can't debug it in the next days, because Iam still on parental leave. I will have a look at it as soon as I can.
from swagger2markup.
I created an example and debugged it:
"pictures": {
"type": "array",
"items": {
"type": "string",
"format": "byte"
}
}
Swagger2Markup uses the official swagger-parser to parse the JSON into a Java Model representation. But the format
is null in the pictures
array. Seems to be a missing feature in the swagger-parser.
from swagger2markup.
Thx for creating the issue.
from swagger2markup.
Hi, assuming the parameter in example #38 (comment) is of type body
, this is verified working:
swagger-api/swagger-parser@8162a82
from swagger2markup.
I tested it as a property of a model definition not as the body schema directly.
from swagger2markup.
Which one do you mean @ejain? Body parameter or property of model definition?
from swagger2markup.
Related Issues (20)
- OpenApi 3.0 to Markdown output
- OpenApi 3.0 descriptions to be converted valid asciidoc
- I hope converting to .doc HOT 2
- Paths Index HOT 8
- Wrong JSON for response example
- No new release since April 2018 ... is the project abandoned? HOT 10
- 能否折叠表格? HOT 1
- StackOverflow when examples have cyclic references #173
- swagger2markup.extensions.dynamicDefinitions.contentPath not working in swagger2markup 2.0.0 snapshot
- null values are cleaned out in adoc
- JCenter is Gone
- Swagger v3 cannot use swagger2markup(1.3.3) HOT 1
- About @Tags HOT 1
- Can we implement this swagger2markup with swagger 3 ?
- Remove dependency on pegdown HOT 4
- swagger2markup-cli 1.3.4 jar is missing in maven central HOT 8
- Latest JAR library on https://mvnrepository.com/ doesn't include OpenAPI classes HOT 4
- Grouping by TAG for OpenAPI v3.0 is ignored
- QA: does support springdoc-openapi-ui ?
- END Header Not Found on internal dependencies paleo-core and asciidoc
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 swagger2markup.