Skip to content

item must not be blank #21

@shiv-tbca

Description

@shiv-tbca

java -jar ./build/libs/swagger2markup-cli-1.3.3.jar convert -i wallet-server.yml -d ./output
02:49:47.261 [main] INFO io.swagger.parser.Swagger20Parser - reading from /Users/shiv/Development/tbca/swagger/swagger2markup-cli/wallet-server.yml
02:49:47.988 [main] DEBUG i.g.s.i.document.PathsDocument - Generate examples is disabled.
02:49:47.988 [main] DEBUG i.g.s.i.document.PathsDocument - Create separated operation files is disabled.
02:49:47.989 [main] DEBUG i.g.s.i.document.DefinitionsDocument - Create separated definition files is disabled.
02:49:48.319 [main] INFO i.g.s.m.b.i.asciidoc.AsciiDocBuilder - Markup document written to: /Users/shiv/Development/tbca/swagger/swagger2markup-cli/./output/overview.adoc
02:49:48.457 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantChargeRequest' (normalized id = 'submitMerchantChargeRequest')
02:49:48.505 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantDepositRequest' (normalized id = 'submitMerchantDepositRequest')
02:49:48.540 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantRefundRequest' (normalized id = 'submitMerchantRefundRequest')
02:49:48.563 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantRefundCreditRequest' (normalized id = 'submitMerchantRefundCreditRequest')
02:49:48.591 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantRemitRequest' (normalized id = 'submitMerchantRemitRequest')
02:49:48.615 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantRequestForPayment' (normalized id = 'submitMerchantRequestForPayment')
02:49:48.636 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantTransferCreditRequest' (normalized id = 'submitMerchantTransferCreditRequest')
02:49:48.656 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'submitMerchantWithdrawRequest' (normalized id = 'submitMerchantWithdrawRequest')
02:49:48.679 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'getMerchantBalances' (normalized id = 'getMerchantBalances')
02:49:48.702 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'getMerchantTransactionHistory' (normalized id = 'getMerchantTransactionHistory')
02:49:48.714 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'getMerchantUsers' (normalized id = 'getMerchantUsers')
02:49:48.733 [main] DEBUG i.g.s.i.document.PathsDocument - Operation processed : 'getUserMerchantBalances' (normalized id = 'getUserMerchantBalances')
Exception in thread "main" java.lang.IllegalArgumentException: item must not be blank
at org.apache.commons.lang3.Validate.notBlank(Validate.java:451)
at io.github.swagger2markup.markup.builder.internal.AbstractMarkupDocBuilder.unorderedListItem(AbstractMarkupDocBuilder.java:333)
at io.github.swagger2markup.markup.builder.internal.AbstractMarkupDocBuilder.unorderedList(AbstractMarkupDocBuilder.java:327)
at io.github.swagger2markup.markup.builder.internal.asciidoc.AsciiDocBuilder.unorderedList(AsciiDocBuilder.java:140)
at io.github.swagger2markup.internal.component.ConsumesComponent.apply(ConsumesComponent.java:44)
at io.github.swagger2markup.internal.component.PathOperationComponent.buildConsumesSection(PathOperationComponent.java:290)
at io.github.swagger2markup.internal.component.PathOperationComponent.apply(PathOperationComponent.java:110)
at io.github.swagger2markup.internal.document.PathsDocument.applyPathOperationComponent(PathsDocument.java:223)
at io.github.swagger2markup.internal.document.PathsDocument.buildOperation(PathsDocument.java:207)
at io.github.swagger2markup.internal.document.PathsDocument.lambda$buildsPathsSection$0(PathsDocument.java:119)
at java.util.ArrayList.forEach(ArrayList.java:1257)
at io.github.swagger2markup.internal.document.PathsDocument.buildsPathsSection(PathsDocument.java:119)
at io.github.swagger2markup.internal.document.PathsDocument.apply(PathsDocument.java:103)
at io.github.swagger2markup.Swagger2MarkupConverter.applyPathsDocument(Swagger2MarkupConverter.java:197)
at io.github.swagger2markup.Swagger2MarkupConverter.toFolder(Swagger2MarkupConverter.java:182)
at io.github.swagger2markup.cli.Application.run(Application.java:86)
at io.github.swagger2markup.cli.Application.main(Application.java:61)

wallet-server.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions