-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
asciidoc markup generator #3845
asciidoc markup generator #3845
Conversation
* master: Add missing files to the form request (#3834) fix warnings in csharp-netcore client (#3831) Bug #2845 typescript angular inheritance (#3812) Add nickmeinhold to Dart technical committee (#3830) Revert "1792 fix remote spec handling and hash calculation (#3440)" fixed bug where nullApi.java would be generated. Instead, generated DefaultApi.java to match the default path /{pathParam} (#3821) 1792 fix remote spec handling and hash calculation (#3440) Add gRPC Protobuf schema generator (#3818) Better Go code format (#3819)
…ciiidoc templates.
need to fix several ci builds it seems (mostly style or windows specific stuff like \r) the next days.. |
@@ -0,0 +1,260 @@ | |||
package org.openapitools.codegen.languages; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll add the copyright header in a separate PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested locally and looks pretty good :+1
=== Pet | ||
|
||
|
||
[.addPet] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@man-at-home we may need to prefix it with the class name (e.g. Pet_addPet) as multiple classes can have the same method (e.g. both Pet and User have the same method getId
: Pet_getId, User_getId).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will look into it. At the moment the generated doc does not use these tags, but the idee would be to allow links to specific calls (if the generated docs format is linkable like html)
FYI. I've added you as the template creator of asciidoc in 8f43373 |
thanks a lot. |
@man-at-home do you have a Twitter account? We will tag you in a tweet to promote the new generator. |
no twitter handle in use, sorry |
That's ok. I've sent out the following: https://twitter.com/oas_generator/status/1174992564576911360 https://news.ycombinator.com/item?id=21025034 https://www.reddit.com/r/opensource/comments/d6stws/generate_api_documentation_in_asciidoc_format/ Have a nice weekend! |
@man-at-home thanks for the PR, which has been included in the v4.1.3 release: https://twitter.com/oas_generator/status/1180123829626003456 |
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
,./bin/openapi3/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\
. If contributing template-only or documentation-only changes which will change sample output, be sure to build the project first.master
,4.1.x
,5.0.x
. Default:master
.Description of the PR
two advantages:
technical commitee: (core team as asciidoc markup has no team)
@wing328 @jimschubert @cbornet @ackintosh @jmini @etherealjoy