Category "swagger-codegen"

NSwag Studio C# generated client code does not have any return types assigned

I am trying to generate some client code from a swagger.json file and the methods created by NSwag do not have any return types as you can see below: Can anyone

OpenApi generator doesn't allow multiple schema in content

I've an OpenAPI contract like this: openapi: 3.0.1 info: title: Internal API version: '' tags: - name: Calendar description: Api for Calendar resource

Swagger Codegen generates nested Lists by using array as response for spring server stub

I am using the cloud SwaggerHub Codegen Editor and wrote API like this: /foodlogs: get: tags: - foodlog summary: searches food logs operationId: searc

Jwt authentication implement in swagger api?

Hi am using Swager APi with nodejs. I am new to this technology. i was facing issue in my code. Tried to implement JWT token auth but unfortunately i was stuck

Mustache: How to downcase first letter

I'm using a mustache template in order to generate some code using Java. I'd like to downcase the first letter of a field. Is there some way to get it? I nee

Swagger. How to define file download operation correctly

I use online Swagger Editor with OpenAPI 3.0 and I have to create a definition file download. I develop server-side and a customer should be able to create a cl

Dynamodb attribute converter provider for enhanced type extending Hashmap

I have a type which is extending HashMap<String, String>. As per the documentation here, it is possible to add a custom converter for the type. But it see

Code generation to initialise by default to empty list instead of null

Does Swagger code generation tool have an option for selecting whether the generated classes should have Lists, Maps etc. defaulted to null or empty? Previousl

Nodjs swagger auto gen integration

I need to develop an API using NodeJS and also need to develop documentation for API also. I integrated with swagger auto-gen for swagger.json creation. But the

How to generate endpoints for micronaut via OpenApi Generator?

Is there a way in micronaut to generate endpoints in a way like we do it in spring-boot via spec.yaml file? our code represented an endpoint @Override public Re