aasikraja
aasikraja
x-order values annotated in schema but still order not changed in generated YAML For eg: In .go code: type User struct { // User name // Extensions: // x-order: 0...
Kindly suggest how to increase socket time out for create_key_pair function? and What are the supported RSA Key Pair length for py KMIP Server? Code: c = ProxyKmipClient(hostname=HOSTNAME_IP,port=SERVER_PORT,cert=CERT_PATH,key=KEY_PATH,ca=CA_PATH) with c:...
Swagger operation is unable to find definitions for models defined in another package when generating spec. I am getting "$refs must reference a valid location in the document " error...
I am trying to figure out how to write and annotate a go-swagger response struct that produces the following swagger output: string string I have defined like below but go-swagger...
## Problem statement I would like to add Sample API call URL with full basepath and parameters such as content types through annotations as below. For example: paths: /pet: post:...
I can see that only supported types of the security schemes values are "basic", "apiKey" or "oauth2". How to annotate bearer auth type using go-swagger https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#securityDefinitionsObject ## Environment swagger version:...
By default swagger:route is considering first line of text as summary and remaining as description. how to avoid generating summary section. // swagger:route GET /pets pets users listPets // //...
I am doing swagger annotations to my java module. In addition to annotated @Parameters, swagger-jaxrs engine putting the additional parameters on argument of the method (for which we are annotating)....
class User { @QueryParam("id") string id; @QueryParam("name") string username; } public class Sample { public Sample(@BeanParam User user) { } } How to give description for those two query parameters?