OpenApi: How to change model name? #58999
-
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            martincostello
          
      
      
        Nov 16, 2024 
      
    
    Replies: 2 comments 6 replies
-
| I believe that the  aspnetcore/src/OpenApi/src/Services/OpenApiOptions.cs Lines 52 to 59 in eb68e01 | 
Beta Was this translation helpful? Give feedback.
                  
                    6 replies
                  
                
            
      Answer selected by
        Thijmen
-
| @Thijmen Any chance you could share what your final solution was for changing a model name? | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
I believe that the
OpenApiOptions.CreateSchemaReferenceIdproperty is the extension point for this:aspnetcore/src/OpenApi/src/Services/OpenApiOptions.cs
Lines 52 to 59 in eb68e01