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
petarstankov
@petarstankov
Unfortunately I don't have the possibility right now to open defect, create pull requests etc. right now, perhaps you'd like to handle it
ajqportal
@ajqportal
Hi
Does anyone any idea on issue for asp.net core regarding the authorization bearer seems like not working at all?
I just added this code:
swagg.AddSecurityDefinition("Bearer", new ApiKeyScheme
                {
                    Description = "Desc here",
                    Name = "Authorization",
                    In = "header",
                    Type = "apiKey"
                });
which I mostly seen on most tutorials... and when I tried it seems not working at all
Marie
@MarieThe3rd
I have a .net core webapi project using swagger for the api ui. I would like to use swagger2markup to build static markdown documentation. can anyone point me in the right direction on how to implement this? thx
Craig Austin
@craustin
Has anyone used the resulting Markdown with Slate?
Just found some relevant messages in the history. Thanks.
Sivamaniyan
@Sivamani180915
Hi I downloaded the swagger2markup code from github. I have swagger YAML file. I want to convert the Swagger Yml to pdf. How to do this..
everfavio
@everfavio
Hi guys, i have a problem consuming an api rest with redoc. The error message is "Error downloading localhost:8081/docs Failed to fetch", but if i consume the service with postman his return json data with swagger structure. any idea?
everfavio
@everfavio
im solved the problem adding http:// to url (http://localhost:8081/docs)
Mat Taylor
@mattaylor
quick question. Is there any way to convert the generated (and edited) ascidoc files back into an openapi json or yaml spec for rendering using other tools like redoc?
Mat Taylor
@mattaylor
I know that official markdown support inside an openapi spec is limited to commonmark, but this could potentially be extended to full ascidoc
SOUARE Saidou
@sVidouSouVre
hello
gigo1980
@gigo1980
hi together, is there some code doc generate available like that https://engineering.gosquared.com/building-better-api-docs ?
Ajay Koranne
@akoranne
Hi, I am looking at https://github.com/Swagger2Markup/swagger2markup-gradle-project-template. Last commit on this project was almost a year ago - July 20, 2017. Are the instructions in this project still valid? The build.gradle refers to asciidoctorj-pdf which is an alpha release. Any thoughts?
Kingsley Kumar
@kingsley.kumar_gitlab
Hi, I see the fields are rendered as 'optional' in the PDF under definitions section. Is it possible to remove 'optional' keyword which is rendered for the fields in PDF ? I don't want to render it as 'required' as well. For the response dto class fields, It doesn't make sense to mention the field as optional or required. Would appreciate your help! Thanks.
Ove Gram Nipen
@oven
Hi, I'm trying to set up springfox + swagger2markup, but springfox says that springfox-staticdocs is deprecated since 2.7.0 (it is currently at 2.9.2), and they point me at swagger2markup's reference documentation. However, that documentation clearly says to use springfox-staticdocs, so I'm at a loss. Also, the demo project (spring-swagger2markup-demo) uses springfox 2.4.0 and springfox-staticdocs. https://springfox.github.io/springfox/docs/current/#configuring-springfox-staticdocs | https://github.com/Swagger2Markup/spring-swagger2markup-demo | http://swagger2markup.github.io/swagger2markup/1.3.3/#_spring_boot_and_springfox
Ove Gram Nipen
@oven
I got it working with springfox 2.6, but that's not really a long term solution
gino8080
@gino8080
hello all
Is there any Node Js or only javascript implementation of Swagger2Markup?
wakingrufus
@wakingrufus
Hello, I reproduced, and found a fix to an issue that was reported awhile back but closed without fixing
in the gradle plugin
is the gradle plugin discussed here? Its readme links to this gitter.
wakingrufus
@wakingrufus
my PR is here: Swagger2Markup/swagger2markup-gradle-plugin#10
AlexCppns
@AlexCppns
Hello
I was wondering if any of you know a tool like https://stoplight.io/platform/prism/ that s open-source?
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.