I had this weird problem because I called "AddOpenApiDocument()" twice and only the second call was properly assigned T.T