cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
michowl
Microsoft
Microsoft

swagger json upload returns error: expects title field

Recieving this message when uploading my json swagger def:

 

An error occured while converting swagger file to WADL file. Error: 'Swagger document does not include required title field'. Your API may not work with apps.

 

I would expect that the title it wants is in info.title which is where swashbuckle's default config placed it.

 

partial of swagger:

{
	"swagger":"2.0",
	"info":
	{
		"version":"v1",
		"title":"My API Title"
	},
	"host":"**removed**",
	"schemes":["https"],
	"paths":{
...[paths removed for brevity]...
	},
	"securityDefinitions":
	{
		"AAD":{
			"type":"oauth2",
			"flow":"implicit",
			"authorizationUrl":"**removed**",
			"scopes":{}
		}
	}
}
11 REPLIES 11
mcorning
Responsive Resident
Responsive Resident

this time it worked immediately, and i even used the same name for the api so i could test if the previous attempt had left any vestige behind.

 

next i will try again w/o using a private window...

mcorning
Responsive Resident
Responsive Resident

confirmed: once i used a private window, all subsequent custom api creations worked as before, even when not in a private window.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (36,335)