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
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (8,466)