You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Sitelet's Endpoint's type it's possible to generate an OpenAPI documentation for simple cases. The documentation for OpenAPI documentation can be found here. With SwaggerUI it's possible to provide a documentation endpoint and offer test calls against the API.
is an extension method on IEndpointRouteBuilder, which configures the site to route /swagger.json calls to provide the generated OpenAPI documentation for the user.
Using
Sitelet
'sEndpoint
's type it's possible to generate anOpenAPI
documentation for simple cases. The documentation forOpenAPI
documentation can be found here. With SwaggerUI it's possible to provide a documentation endpoint and offer test calls against the API.is an extension method on
IEndpointRouteBuilder
, which configures the site to route/swagger.json
calls to provide the generatedOpenAPI
documentation for the user.config contains the required Info Object's
Version
andTitle
fields,ServerUrls
andJsonSerializerOptions
for ISerializerDataContractResolver.JsonSerializerOptions
requires https://github.com/Tarmil/FSharp.SystemTextJson.To set up
SwaggerUI
.UseSwaggerUI
needs to point to/swagger.json
.Example code on an
IApplicationBuilder
to setup/swagger
endpoint forSwaggerUI
Documentation generation is restricted to an
Endpoint
type of Discriminated Union, with primitive system type union fields.int
,float
,string
.Example
Endpoint
type:Where no annotation defines the Operation (for example
Get
/Post
), the default isGet
.Parameter name defaults to it's
Type
's.Name
.The text was updated successfully, but these errors were encountered: