forked from loafle/openapi-generator-original
parent
3240c5baf0
commit
eebecc8646
@ -119,7 +119,7 @@ namespace {{packageName}}
|
|||||||
Version = "{{{version}}}{{^version}}v1{{/version}}",
|
Version = "{{{version}}}{{^version}}v1{{/version}}",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
{{#basePathWithoutHost}}
|
{{#basePathWithoutHost}}
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("{{{.}}}");
|
c.DocumentFilter<BasePathFilter>("{{{.}}}");
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
@ -100,7 +100,7 @@ namespace Org.OpenAPITools
|
|||||||
Version = "1.0.0",
|
Version = "1.0.0",
|
||||||
});
|
});
|
||||||
c.CustomSchemaIds(type => type.FriendlyId(true));
|
c.CustomSchemaIds(type => type.FriendlyId(true));
|
||||||
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetEntryAssembly().GetName().Name}.xml");
|
c.IncludeXmlComments($"{AppContext.BaseDirectory}{Path.DirectorySeparatorChar}{Assembly.GetExecutingAssembly().GetName().Name}.xml");
|
||||||
// Sets the basePath property in the OpenAPI document generated
|
// Sets the basePath property in the OpenAPI document generated
|
||||||
c.DocumentFilter<BasePathFilter>("/v2");
|
c.DocumentFilter<BasePathFilter>("/v2");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user