Skip to main content

All Questions

Tagged with
-1 votes
0 answers
58 views

405 method not allowed Spring Boot API and Angular

in one of my Spring API projects I sometimes encounter a "405 method not allowed" error if I use the PUT call. The error is quite random, sometimes the call works without problems, sometimes ...
peppe71-19's user avatar
0 votes
0 answers
35 views

Google Oauth 2.0 throwing error "invalid_grant" in .net 6 project

{ "error": { "error": "invalid_grant", "error_description": "Invalid grant: account not found", "error_uri": null }, "statusCode": ...
Dinesh Naidu's user avatar
0 votes
0 answers
31 views

Is there a way to take a swagger file and generate like WSDL document

I have a Swagger (OpenAPI) specification file for my REST API, and I need to generate a WSDL document from it. The goal is to provide a WSDL document for clients that expect SOAP services. I ...
saifLAYouni's user avatar
-1 votes
0 answers
180 views

Converting Swagger to WSDL [closed]

The goal is to create a reliable process or tool that can convert a Swagger file, which defines a REST API, into a WSDL file suitable for SOAP services. This conversion is necessary to ensure ...
Saif Eddine Layouni's user avatar
0 votes
0 answers
65 views

In a microservice architecture, where to define and how to propagate enum definitions

We don't know where to implement a certain enum and how to propagate it throught our services, that need it. We need this enum "SampleType" in two of our microservices (for now). Our ...
HWS-SLS's user avatar
  • 146
0 votes
0 answers
80 views

java.io.IOException: unexpected end of stream when reading response headers in OkHttp

I'm using OkHttp to make HTTP requests in my Java application. I'm encountering an issue where I get a java.io.IOException: unexpected end of stream error when trying to read the response headers from ...
vampirepapi's user avatar
0 votes
1 answer
141 views

Swagger Support for Apache Camel 4

I am upgrading from Apache Camel 3.20.x to 4.x.x and found that camel-swagger-java(version 3.20.x) which was supported with Camel 3 isn't supported with Camel 4. The camel-swagger-java library hasn't ...
Wanderer's user avatar
  • 476
0 votes
0 answers
16 views

Spring Boot Swagger expanding generated schema programaitclly

I want to use reflection and expand field schemas (set example value, description etc...) scoped to a single definition for example: AUTHENTICATION definition password field in all method parameters ...
Cofi's user avatar
  • 63
0 votes
0 answers
48 views

Nswag client doesn't correctly generate Method for DELETE endpoint

This is the code generate by Nswag client for the Endpoint [http://localhost:5272/api/DbSupplier/{id}]. In this code I notice that id is not appended to url. So when it execute it throws an error. ...
Jayampathi Weerasinghe's user avatar
1 vote
1 answer
381 views

Correct the classpath of your app so that it contains compat. vers. of the classes org.webjars.WebJarAssetLocator and io.github.classgraph.ClassGraph

I find it difficult to fix the problem. Would you please helping me out? Console output: Error starting ApplicationContext. To display the condition evaluation report re-run your application with '...
noslav7's user avatar
  • 11
0 votes
0 answers
21 views

JAX-RS spec vs Swagger Spec difference

I'm confused which came first JAX-RS Or Swagger Spec and their differences. Both have implementation. I seen spring boot Rest Api which implementation this uses? Sorry new to development and can't ...
Margaret W's user avatar
1 vote
1 answer
129 views

How can I override the Requestbody ExampleValue and Schema in my Swagger OpenApi Doc?

I wrote a REST- Api in Springboot (3.2.2) and I am trying to create a fully customized Swagger OpenApi(3.0). Due to some api-requirements the RequestBody in my controller method can not be the dto-...
paula's user avatar
  • 23
0 votes
1 answer
267 views

Exclude a schema property in response json body of OpenApi

I am using OpenApi 3.0 yaml file to generate the java code for handling the REST requests. The below is the related snippet of the yaml file: openapi: 3.0.3 info: title: OpenAPI definition version:...
madD7's user avatar
  • 911
0 votes
0 answers
69 views

Swagger Gen throws a null reference error in security scheme

I recently updated my project from .NET Core 2.1 to .NET 6. I'm now getting an error in Swagger Oauth2 setup: System.NullReferenceException: "Object reference not set to an instance of an object....
User3250's user avatar
  • 3,223
0 votes
0 answers
38 views

Apex- swagger does not show data from functions and json objects from sql query

I want to generate swagger documentation through Apex using as handler a long sql query with nested objects and functions in it. Here is a part of query (almost 500 lines): `select * from (with branch ...
noUserName97's user avatar

15 30 50 per page
1
2 3 4 5
54