#### [Abblix\.Oidc\.Server\.MinimalApi](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi 'index')
### [Abblix\.Oidc\.Server\.MinimalApi\.Attributes](https://www.abblix.com/en/docs/api/abblix-oidc-server-minimalapi/Abblix.Oidc.Server.MinimalApi.Attributes 'Abblix\.Oidc\.Server\.MinimalApi\.Attributes')

## GeneratedFromAttribute Class

Marks a partial Minimal API request\-model record whose members are produced by the Minimal API model source
generator from the given core model type: the bound properties, a static `BindAsync(HttpContext)` that reads
each property from the form/query/headers/connection per the core wire\-format markers, the executable validation
attributes translated from the core declarative markers, and the implicit operator projecting the bound model onto
the core type\.

```csharp
public sealed class GeneratedFromAttribute : System.Attribute
```

Inheritance [System\.Object](https://learn.microsoft.com/en-us/dotnet/api/system.object 'System\.Object') → [System\.Attribute](https://learn.microsoft.com/en-us/dotnet/api/system.attribute 'System\.Attribute') → GeneratedFromAttribute
### Constructors

## GeneratedFromAttribute\(Type\) Constructor {#Abblix.Oidc.Server.MinimalApi.Attributes.GeneratedFromAttribute.GeneratedFromAttribute(System.Type)}

Marks a partial Minimal API request\-model record whose members are produced by the Minimal API model source
generator from the given core model type: the bound properties, a static `BindAsync(HttpContext)` that reads
each property from the form/query/headers/connection per the core wire\-format markers, the executable validation
attributes translated from the core declarative markers, and the implicit operator projecting the bound model onto
the core type\.

```csharp
public GeneratedFromAttribute(System.Type coreModelType);
```
#### Parameters

###### `coreModelType` [System\.Type](https://learn.microsoft.com/en-us/dotnet/api/system.type 'System\.Type') {#Abblix.Oidc.Server.MinimalApi.Attributes.GeneratedFromAttribute.GeneratedFromAttribute(System.Type).coreModelType}

The core model type in `Abblix.Oidc.Server.Model` to generate from\.
### Properties

## GeneratedFromAttribute\.CoreModelType Property {#Abblix.Oidc.Server.MinimalApi.Attributes.GeneratedFromAttribute.CoreModelType}

The core model type the Minimal API model is generated from\.

```csharp
public System.Type CoreModelType { get; }
```

#### Property Value
[System\.Type](https://learn.microsoft.com/en-us/dotnet/api/system.type 'System\.Type')

## GeneratedFromAttribute\.SupportsGet Property {#Abblix.Oidc.Server.MinimalApi.Attributes.GeneratedFromAttribute.SupportsGet}

Indicates that the endpoint also accepts the request via HTTP GET, so the generated `BindAsync` reads each
value from the query string as well as the posted form \(the authorization, userinfo and end\-session endpoints\)\.

```csharp
public bool SupportsGet { get; init; }
```

#### Property Value
[System\.Boolean](https://learn.microsoft.com/en-us/dotnet/api/system.boolean 'System\.Boolean')
