Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 11 13:29
    aaanikin closed #368
  • Sep 11 13:27
    aaanikin opened #368
  • Aug 06 08:40
    zhongql opened #367
  • Jul 19 19:01
    FatalCatharsis opened #366
  • Jul 12 08:42
    pinfrederic commented #326
  • Jul 11 07:11
    RobWin commented #300
  • Jul 10 11:08
    micobarac commented #300
  • Jul 10 11:07
    micobarac commented #300
  • Jul 10 11:06
    micobarac commented #300
  • Jul 10 11:04
    micobarac commented #300
  • Jul 10 11:04
    micobarac commented #300
  • Jul 10 10:58
    micobarac commented #300
  • Jul 10 10:58
    micobarac commented #300
  • Jul 10 10:58
    micobarac commented #300
  • Jul 10 10:55
    micobarac commented #300
  • Jul 10 10:55
    micobarac commented #300
  • Jul 10 10:53
    micobarac commented #300
  • Jul 10 10:53
    micobarac commented #300
  • Jul 10 10:49
    micobarac commented #300
  • Jul 10 10:22
    micobarac commented #300
wakingrufus
@wakingrufus
That tool sounds cool. If there is not an open source alternative, I'd be up for making one
wakingrufus
@wakingrufus
@AlexCppns I found this: https://github.com/outofcoffee/imposter
wakingrufus
@wakingrufus
Thanks for merging my PR! When is the next release for the gradle plugin planned for?
Pablo
@pablottz_twitter
hi, does anyone know about a simple guide on how to use this feature?
Andrew Bright
@Brighty28
As above is there any simple documentation on how to use this preferable from .NET c#
Hullaert Christof
@cHullaert
Hi, is there a documentation for swagger2markup gradle plugin ?
wakingrufus
@wakingrufus
@cHullaert I dont think so. basically, you apply it, t hen you can configure it like this: convertSwagger2markup { swaggerInput file("build/swagger/swagger.json").getAbsolutePath() outputFile file("${buildDir}/swagger/api") config = ['swagger2markup.markupLanguage': 'MARKDOWN'] }
that formatting didn't come out how I thought it would
@RobWin Any update on when the latest master for the gradle plugin will get released?
Sridhar Jonnalagadda
@sjonnalagadda
Hi Folks - I'm seeing org.pegdown.ParsingTimeoutException issue sporadically.
The dependency tree for io.github.swagger2markup:swagger2markup:jar:1.3.3:compile has transitive dependency on org.pegdown:pegdown:jar:1.4.2:runtime.
Sridhar Jonnalagadda
@sjonnalagadda
From pegdown github page, they say default timeout is 2 seconds. Is there a way to change default timeout? What is the default timeout configured ?
Sridhar Jonnalagadda
@sjonnalagadda
org.pegdown.Parser has the check protected boolean checkForParsingTimeout() { if (System.currentTimeMillis() - parsingStartTimeStamp > maxParsingTimeInMillis) throw new ParsingTimeoutException(); return true; }
nl.jworks.markdown_to_asciidoc.Converter.convertMarkdownToAsciiDoc creates PegdownProcessor, and does not take optional timeout value.
Sridhar Jonnalagadda
@sjonnalagadda
nl.jworks.markdown_to_asciidoc source code is not on github.
@RobWin - Can you provide some direction on how do we want to approach the timeout issue?
David Porter
@dcp65
@cHullaert The doc for ther swagger2markup-gradle-plugin is here: http://swagger2markup.github.io/swagger2markup/1.3.3/#_gradle_plugin
wakingrufus
@wakingrufus
Any updated on a release of the gradle plugin?
Ghost
@ghost~5c1bb0ded73408ce4fb28392
Hi. Is there a way to get swagger2markup to output the custom properties in a yaml file?
Joel Roberts
@jwr456
Hi, is there a way to suppress certain methods perhaps filtered by tag, from the generated documentation? For instance, I'm trying to exclude my internal only methods from the external facing documentation.
yangkun
@ykgarfield
I found a problem :The generated html has some error when ApiModel value contains slash(/), because I see the github it hasn't been updated for a long time , so I join this room.Swagger2Markup/swagger2markup#355
David Ray
@cogmission
Hi There! If I want to define a yaml file for Swagger, where to I put it and what do I call it?
David Porter
@dcp65
@jwr456 You can filter a method from the generated Swagger JSON by adding hidden=trueto the @ApiOperation annotation. In other words, you filter before you run swagger2markup.
Julian Dreissig
@thirtified
FYI, I have submitted a formula for swagger2markup-cli to be available through homebrew.
jschutijzer
@jschutijzer
Hi, I'm using swagger2markup-maven-plugin
I see it producing curl-request.adoc files
but I don't see them in the result html
Am I missing a setting or something?
jschutijzer
@jschutijzer
@here anyone?
Joel Roberts
@jwr456
Hey @dcp65 - thanks for your reply.
Robert Winkler
@RobWin
Hi, sry I'm really busy at the moment
walid
@walidos195
hi
Julian West
@fuzzyjulz
@RobWin Would it be possible to get a release created? Really keen to get the bugfix for issue 336 - Headers not displaying correctly
David Porter
@dcp65
Can anyone show me how to run the convertSwagger2markup task more than once using different swaggerInput files in the same build.gradle?
I’m trying something like this:
task thisApi {
    convertSwagger2markup {
        swaggerInput 'https://myapi/this/swagger.json'
        outputDir file("src/docs/this")
        config = [
                'swagger2markup.pathsGroupedBy'                     : 'TAGS',
                'swagger2markup.markupLanguage'                     : 'MARKDOWN',
        ]
    }
}

task thatApi {
    convertSwagger2markup {
        swaggerInput 'https://myapi/that/swagger.json'
        outputDir file("src/docs/that")
        config = [
                'swagger2markup.pathsGroupedBy'                     : 'TAGS',
                'swagger2markup.markupLanguage'                     : 'MARKDOWN',
        ]
    }
}
But neither of the convertSwagger2markup tasks actually runs.
stevep0000
@stevep0000
Hi, how can you override the different language translations in the label_xx.properties files ? For example, I would like the output to show the word "Services" instead of "Tags".
Johan Hammar
@johanhammar
Hi! I'm trying to generate examples for a http request with query parameters. Unfortunately the output that I get is one section with the uri and wh
and one section with the request parameters
Which looks more like body content. Is it possible to generate request examples like this https://host?param1=1&param2=2
Ali Ustek
@austek

is it possible to inject asciidoc settings like

:chapter-label:
:toc:
:icons: font
:lang: en
// Settings:
:commonResourcesDir: ../resources
:imagesdir: {commonResourcesDir}/images
ifdef::backend-pdf[:notitle:]
ifdef::backend-pdf[]
:pdf-stylesdir: {commonResourcesDir}/theme
:pdf-fontsdir: {commonResourcesDir}/fonts
:pdf-style: custom
:pdf-page-size: A4
endif::[]

into generated document ?

Sebastien Vermeille
@sebastienvermeille
hi there!
I have some issues regarding swagger and maven. I successfully were able to generate an openapi.json and yaml file from my source code and now I would like to generate asciidoc files from that. Unfortunately the plugin says: Failed to read the Swagger source. Does it support openapi format ?
thank you in advance
ok seems not I've seen an issue about that on the git repo thank you
David Porter
@dcp65

Someone just alerted me to Robert’s update to the swagger2markup README from June:

unfortunately I can’t maintain Swagger2Markup alone anymore.

A shame. swagger2markup was a really useful tool.