package
0.0.0-20241226104941-7124079c1b95
Repository: https://github.com/ibiscum/go-oas-examples.git
Documentation: pkg.go.dev
# README
oapi-codegen -config cfg.yaml ../discriminators.yaml
# Functions
GetSwagger returns the Swagger specification corresponding to the generated code in this file.
Handler creates http.Handler with routing matching OpenAPI spec.
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
No description provided by the author
HandlerWithOptions creates http.Handler with additional options.
No description provided by the author
No description provided by the author
No description provided by the author
Constructs a synthetic filesystem for resolving external references when loading openapi specifications.
# Constants
Defines values for BaseWebhookEventEventType.
Defines values for BaseWebhookEventEventType.
Defines values for BaseBuyerWebhookEventEventType.
Defines values for BaseBuyerWebhookEventEventType.
Defines values for BasePurchaseWebhookEventEventType.
Defines values for BasePurchaseWebhookEventEventType.
Defines values for DogBreed.
Defines values for DogBreed.
Defines values for DogBreed.
Defines values for DogBreed.
Defines values for DogNoDiscBreed.
Defines values for DogNoDiscBreed.
Defines values for DogNoDiscBreed.
Defines values for DogNoDiscBreed.
Defines values for MappingWithDuplicateSchemasJSONBodyDiscrimValue.
Defines values for MappingWithDuplicateSchemasJSONBodyDiscrimValue.
Defines values for MappingWithDuplicateSchemasJSONBodyDiscrimValue.
Defines values for OneOfWithImproperlyPlacedDiscriminatorJSONBodyConnectorType.
Defines values for OneOfWithImproperlyPlacedDiscriminatorJSONBodyConnectorType.
Defines values for MappingWithDuplicateSchemasJSONBodyDiscrimValue.
Defines values for MappingWithDuplicateSchemasJSONBodyDiscrimValue.
Defines values for MappingWithDuplicateSchemasJSONBodyDiscrimValue.
# Structs
BaseBuyerWebhookEvent defines model for BaseBuyerWebhookEvent.
BasePurchaseWebhookEvent defines model for BasePurchaseWebhookEvent.
BaseVehicle Vehicle (from [Redocly example](https://redocly.com/docs/resources/discriminator#when-to-use-the-openapi-discriminator)).
BaseWebhookEvent Base webhook event.
Cat defines model for Cat.
CatNoDisc defines model for CatNoDisc.
No description provided by the author
Dog defines model for Dog.
DogNoDisc defines model for DogNoDisc.
GcsImport Import into Google cloud service.
No description provided by the author
No description provided by the author
No description provided by the author
MappingOfSchemaNamesJSONBody defines parameters for MappingOfSchemaNames.
No description provided by the author
No description provided by the author
MappingWithDuplicateSchemasJSONBody defines parameters for MappingWithDuplicateSchemas.
No description provided by the author
Object1 First type of object.
Object2 Second type of object.
No description provided by the author
OneOfWithImproperlyPlacedDiscriminatorJSONBody defines parameters for OneOfWithImproperlyPlacedDiscriminator.
OneOfWithImproperlyPlacedDiscriminatorJSONBody_ConnectorProperties defines parameters for OneOfWithImproperlyPlacedDiscriminator.
No description provided by the author
No description provided by the author
OneOfWithNestedAllOfAndEmbeddedDiscriminatorJSONBody defines parameters for OneOfWithNestedAllOfAndEmbeddedDiscriminator.
No description provided by the author
No description provided by the author
OneOfWithNestedAllOfAndTopLevelDiscriminatorJSONBody defines parameters for OneOfWithNestedAllOfAndTopLevelDiscriminator.
No description provided by the author
No description provided by the author
OneOfWithNestedOneOfAndEmbeddedDiscriminatorJSONBody defines parameters for OneOfWithNestedOneOfAndEmbeddedDiscriminator.
OneOfWithNestedOneOfAndEmbeddedDiscriminatorJSONBody_Config defines parameters for OneOfWithNestedOneOfAndEmbeddedDiscriminator.
OneOfWithNestedOneOfAndEmbeddedDiscriminatorJSONBodyConfig2 defines parameters for OneOfWithNestedOneOfAndEmbeddedDiscriminator.
No description provided by the author
No description provided by the author
OneOfWithTopLevelDiscriminatorAndMappingJSONBody defines parameters for OneOfWithTopLevelDiscriminatorAndMapping.
No description provided by the author
No description provided by the author
OneOfWithTopLevelDiscriminatorNoMappingJSONBody defines parameters for OneOfWithTopLevelDiscriminatorNoMapping.
No description provided by the author
OptionOneNoDisc Option one no discriminator.
OptionThreeNoDisc Option three no discriminator.
OptionTwoNoDisc Option two no discriminator.
Pet Definition of a pet.
PetNoDisc Pet with no discriminator.
No description provided by the author
PotentiallyUndefinedFormDataJSONBody defines parameters for PotentiallyUndefinedFormData.
No description provided by the author
No description provided by the author
RedoclyQuirkJSONBody defines parameters for RedoclyQuirk.
No description provided by the author
No description provided by the author
No description provided by the author
S3Import Import into S3.
ServerInterfaceWrapper converts contexts to parameters.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ServerInterface represents all server handlers.
StrictServerInterface represents all server handlers.
# Type aliases
ApplicationApprovedEvent Purchase webhook event.
ApplicationDeniedEvent Purchase webhook event.
BaseBuyerWebhookEventEventType Type of the webhook event.
BasePurchaseWebhookEventEventType Type of the webhook event.
BaseWebhookEventEventType Type of the webhook event.
DogBreed defines model for Dog.Breed.
DogNoDiscBreed defines model for DogNoDisc.Breed.
MappingOfSchemaNamesJSONRequestBody defines body for MappingOfSchemaNames for application/json ContentType.
MappingWithDuplicateSchemasJSONBodyDiscrimValue defines parameters for MappingWithDuplicateSchemas.
MappingWithDuplicateSchemasJSONRequestBody defines body for MappingWithDuplicateSchemas for application/json ContentType.
No description provided by the author
OneOfWithImproperlyPlacedDiscriminatorJSONBodyConnectorType defines parameters for OneOfWithImproperlyPlacedDiscriminator.
OneOfWithImproperlyPlacedDiscriminatorJSONRequestBody defines body for OneOfWithImproperlyPlacedDiscriminator for application/json ContentType.
OneOfWithNestedAllOfAndEmbeddedDiscriminatorJSONRequestBody defines body for OneOfWithNestedAllOfAndEmbeddedDiscriminator for application/json ContentType.
OneOfWithNestedAllOfAndTopLevelDiscriminatorJSONRequestBody defines body for OneOfWithNestedAllOfAndTopLevelDiscriminator for application/json ContentType.
OneOfWithNestedOneOfAndEmbeddedDiscriminatorJSONRequestBody defines body for OneOfWithNestedOneOfAndEmbeddedDiscriminator for application/json ContentType.
OneOfWithTopLevelDiscriminatorAndMappingJSONRequestBody defines body for OneOfWithTopLevelDiscriminatorAndMapping for application/json ContentType.
OneOfWithTopLevelDiscriminatorNoMappingJSONRequestBody defines body for OneOfWithTopLevelDiscriminatorNoMapping for application/json ContentType.
PotentiallyUndefinedFormDataJSONRequestBody defines body for PotentiallyUndefinedFormData for application/json ContentType.
RedoclyQuirkJSONRequestBody defines body for RedoclyQuirk for application/json ContentType.
No description provided by the author
No description provided by the author