olai-codegen 0.0.1

Proto-driven code generation for REST handlers, clients, and resource registries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
// @generated
// This file is @generated by prost-build.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AdditionalPropertiesItem {
    #[prost(oneof = "additional_properties_item::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<additional_properties_item::Oneof>,
}
/// Nested message and enum types in `AdditionalPropertiesItem`.
pub mod additional_properties_item {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        SchemaOrReference(::prost::alloc::boxed::Box<super::SchemaOrReference>),
        #[prost(bool, tag = "2")]
        Boolean(bool),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Any {
    #[prost(message, optional, tag = "1")]
    pub value: ::core::option::Option<::prost_types::Any>,
    #[prost(string, tag = "2")]
    pub yaml: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct AnyOrExpression {
    #[prost(oneof = "any_or_expression::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<any_or_expression::Oneof>,
}
/// Nested message and enum types in `AnyOrExpression`.
pub mod any_or_expression {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Any(super::Any),
        #[prost(message, tag = "2")]
        Expression(super::Expression),
    }
}
/// A map of possible out-of band callbacks related to the parent operation. Each value in the map is a Path Item Object that describes a set of requests that may be initiated by the API provider and the expected responses. The key value used to identify the callback object is an expression, evaluated at runtime, that identifies a URL to use for the callback operation.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Callback {
    #[prost(message, repeated, tag = "1")]
    pub path: ::prost::alloc::vec::Vec<NamedPathItem>,
    #[prost(message, repeated, tag = "2")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CallbackOrReference {
    #[prost(oneof = "callback_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<callback_or_reference::Oneof>,
}
/// Nested message and enum types in `CallbackOrReference`.
pub mod callback_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Callback(super::Callback),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct CallbacksOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedCallbackOrReference>,
}
/// Holds a set of reusable objects for different aspects of the OAS. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Components {
    #[prost(message, optional, tag = "1")]
    pub schemas: ::core::option::Option<SchemasOrReferences>,
    #[prost(message, optional, tag = "2")]
    pub responses: ::core::option::Option<ResponsesOrReferences>,
    #[prost(message, optional, tag = "3")]
    pub parameters: ::core::option::Option<ParametersOrReferences>,
    #[prost(message, optional, tag = "4")]
    pub examples: ::core::option::Option<ExamplesOrReferences>,
    #[prost(message, optional, tag = "5")]
    pub request_bodies: ::core::option::Option<RequestBodiesOrReferences>,
    #[prost(message, optional, tag = "6")]
    pub headers: ::core::option::Option<HeadersOrReferences>,
    #[prost(message, optional, tag = "7")]
    pub security_schemes: ::core::option::Option<SecuritySchemesOrReferences>,
    #[prost(message, optional, tag = "8")]
    pub links: ::core::option::Option<LinksOrReferences>,
    #[prost(message, optional, tag = "9")]
    pub callbacks: ::core::option::Option<CallbacksOrReferences>,
    #[prost(message, repeated, tag = "10")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Contact information for the exposed API.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Contact {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub url: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub email: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "4")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct DefaultType {
    #[prost(oneof = "default_type::Oneof", tags = "1, 2, 3")]
    pub oneof: ::core::option::Option<default_type::Oneof>,
}
/// Nested message and enum types in `DefaultType`.
pub mod default_type {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(double, tag = "1")]
        Number(f64),
        #[prost(bool, tag = "2")]
        Boolean(bool),
        #[prost(string, tag = "3")]
        String(::prost::alloc::string::String),
    }
}
/// When request bodies or response payloads may be one of a number of different schemas, a `discriminator` object can be used to aid in serialization, deserialization, and validation.  The discriminator is a specific object in a schema which is used to inform the consumer of the specification of an alternative schema based on the value associated with it.  When using the discriminator, _inline_ schemas will not be considered.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Discriminator {
    #[prost(string, tag = "1")]
    pub property_name: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub mapping: ::core::option::Option<Strings>,
    #[prost(message, repeated, tag = "3")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Document {
    #[prost(string, tag = "1")]
    pub openapi: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub info: ::core::option::Option<Info>,
    #[prost(message, repeated, tag = "3")]
    pub servers: ::prost::alloc::vec::Vec<Server>,
    #[prost(message, optional, tag = "4")]
    pub paths: ::core::option::Option<Paths>,
    #[prost(message, optional, tag = "5")]
    pub components: ::core::option::Option<Components>,
    #[prost(message, repeated, tag = "6")]
    pub security: ::prost::alloc::vec::Vec<SecurityRequirement>,
    #[prost(message, repeated, tag = "7")]
    pub tags: ::prost::alloc::vec::Vec<Tag>,
    #[prost(message, optional, tag = "8")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(message, repeated, tag = "9")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// A single encoding definition applied to a single schema property.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Encoding {
    #[prost(string, tag = "1")]
    pub content_type: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub headers: ::core::option::Option<HeadersOrReferences>,
    #[prost(string, tag = "3")]
    pub style: ::prost::alloc::string::String,
    #[prost(bool, tag = "4")]
    pub explode: bool,
    #[prost(bool, tag = "5")]
    pub allow_reserved: bool,
    #[prost(message, repeated, tag = "6")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Encodings {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedEncoding>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Example {
    #[prost(string, tag = "1")]
    pub summary: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub value: ::core::option::Option<Any>,
    #[prost(string, tag = "4")]
    pub external_value: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "5")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExampleOrReference {
    #[prost(oneof = "example_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<example_or_reference::Oneof>,
}
/// Nested message and enum types in `ExampleOrReference`.
pub mod example_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Example(super::Example),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExamplesOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedExampleOrReference>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Expression {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Allows referencing an external resource for extended documentation.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ExternalDocs {
    #[prost(string, tag = "1")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub url: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "3")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// The Header Object follows the structure of the Parameter Object with the following changes:  1. `name` MUST NOT be specified, it is given in the corresponding `headers` map. 1. `in` MUST NOT be specified, it is implicitly in `header`. 1. All traits that are affected by the location MUST be applicable to a location of `header` (for example, `style`).
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Header {
    #[prost(string, tag = "1")]
    pub description: ::prost::alloc::string::String,
    #[prost(bool, tag = "2")]
    pub required: bool,
    #[prost(bool, tag = "3")]
    pub deprecated: bool,
    #[prost(bool, tag = "4")]
    pub allow_empty_value: bool,
    #[prost(string, tag = "5")]
    pub style: ::prost::alloc::string::String,
    #[prost(bool, tag = "6")]
    pub explode: bool,
    #[prost(bool, tag = "7")]
    pub allow_reserved: bool,
    #[prost(message, optional, tag = "8")]
    pub schema: ::core::option::Option<SchemaOrReference>,
    #[prost(message, optional, tag = "9")]
    pub example: ::core::option::Option<Any>,
    #[prost(message, optional, tag = "10")]
    pub examples: ::core::option::Option<ExamplesOrReferences>,
    #[prost(message, optional, tag = "11")]
    pub content: ::core::option::Option<MediaTypes>,
    #[prost(message, repeated, tag = "12")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HeaderOrReference {
    #[prost(oneof = "header_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<header_or_reference::Oneof>,
}
/// Nested message and enum types in `HeaderOrReference`.
pub mod header_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Header(super::Header),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HeadersOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedHeaderOrReference>,
}
/// The object provides metadata about the API. The metadata MAY be used by the clients if needed, and MAY be presented in editing or documentation generation tools for convenience.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Info {
    #[prost(string, tag = "1")]
    pub title: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub terms_of_service: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub contact: ::core::option::Option<Contact>,
    #[prost(message, optional, tag = "5")]
    pub license: ::core::option::Option<License>,
    #[prost(string, tag = "6")]
    pub version: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "7")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
    #[prost(string, tag = "8")]
    pub summary: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ItemsItem {
    #[prost(message, repeated, tag = "1")]
    pub schema_or_reference: ::prost::alloc::vec::Vec<SchemaOrReference>,
}
/// License information for the exposed API.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct License {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub url: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "3")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// The `Link object` represents a possible design-time link for a response. The presence of a link does not guarantee the caller's ability to successfully invoke it, rather it provides a known relationship and traversal mechanism between responses and other operations.  Unlike _dynamic_ links (i.e. links provided **in** the response payload), the OAS linking mechanism does not require link information in the runtime response.  For computing links, and providing instructions to execute them, a runtime expression is used for accessing values in an operation and using them as parameters while invoking the linked operation.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Link {
    #[prost(string, tag = "1")]
    pub operation_ref: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub operation_id: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub parameters: ::core::option::Option<AnyOrExpression>,
    #[prost(message, optional, tag = "4")]
    pub request_body: ::core::option::Option<AnyOrExpression>,
    #[prost(string, tag = "5")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "6")]
    pub server: ::core::option::Option<Server>,
    #[prost(message, repeated, tag = "7")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LinkOrReference {
    #[prost(oneof = "link_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<link_or_reference::Oneof>,
}
/// Nested message and enum types in `LinkOrReference`.
pub mod link_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Link(super::Link),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct LinksOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedLinkOrReference>,
}
/// Each Media Type Object provides schema and examples for the media type identified by its key.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MediaType {
    #[prost(message, optional, tag = "1")]
    pub schema: ::core::option::Option<SchemaOrReference>,
    #[prost(message, optional, tag = "2")]
    pub example: ::core::option::Option<Any>,
    #[prost(message, optional, tag = "3")]
    pub examples: ::core::option::Option<ExamplesOrReferences>,
    #[prost(message, optional, tag = "4")]
    pub encoding: ::core::option::Option<Encodings>,
    #[prost(message, repeated, tag = "5")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct MediaTypes {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedMediaType>,
}
/// Automatically-generated message used to represent maps of Any as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedAny {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Any>,
}
/// Automatically-generated message used to represent maps of CallbackOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedCallbackOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<CallbackOrReference>,
}
/// Automatically-generated message used to represent maps of Encoding as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedEncoding {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Encoding>,
}
/// Automatically-generated message used to represent maps of ExampleOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedExampleOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<ExampleOrReference>,
}
/// Automatically-generated message used to represent maps of HeaderOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedHeaderOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<HeaderOrReference>,
}
/// Automatically-generated message used to represent maps of LinkOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedLinkOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<LinkOrReference>,
}
/// Automatically-generated message used to represent maps of MediaType as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedMediaType {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<MediaType>,
}
/// Automatically-generated message used to represent maps of ParameterOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedParameterOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<ParameterOrReference>,
}
/// Automatically-generated message used to represent maps of PathItem as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedPathItem {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<PathItem>,
}
/// Automatically-generated message used to represent maps of RequestBodyOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedRequestBodyOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<RequestBodyOrReference>,
}
/// Automatically-generated message used to represent maps of ResponseOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedResponseOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<ResponseOrReference>,
}
/// Automatically-generated message used to represent maps of SchemaOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedSchemaOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<SchemaOrReference>,
}
/// Automatically-generated message used to represent maps of SecuritySchemeOrReference as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedSecuritySchemeOrReference {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<SecuritySchemeOrReference>,
}
/// Automatically-generated message used to represent maps of ServerVariable as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedServerVariable {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<ServerVariable>,
}
/// Automatically-generated message used to represent maps of string as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedString {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(string, tag = "2")]
    pub value: ::prost::alloc::string::String,
}
/// Automatically-generated message used to represent maps of StringArray as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedStringArray {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<StringArray>,
}
/// Configuration details for a supported OAuth Flow
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OauthFlow {
    #[prost(string, tag = "1")]
    pub authorization_url: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub token_url: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub refresh_url: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub scopes: ::core::option::Option<Strings>,
    #[prost(message, repeated, tag = "5")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Allows configuration of the supported OAuth Flows.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct OauthFlows {
    #[prost(message, optional, tag = "1")]
    pub implicit: ::core::option::Option<OauthFlow>,
    #[prost(message, optional, tag = "2")]
    pub password: ::core::option::Option<OauthFlow>,
    #[prost(message, optional, tag = "3")]
    pub client_credentials: ::core::option::Option<OauthFlow>,
    #[prost(message, optional, tag = "4")]
    pub authorization_code: ::core::option::Option<OauthFlow>,
    #[prost(message, repeated, tag = "5")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Object {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Describes a single API operation on a path.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Operation {
    #[prost(string, repeated, tag = "1")]
    pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, tag = "2")]
    pub summary: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(string, tag = "5")]
    pub operation_id: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "6")]
    pub parameters: ::prost::alloc::vec::Vec<ParameterOrReference>,
    #[prost(message, optional, tag = "7")]
    pub request_body: ::core::option::Option<RequestBodyOrReference>,
    #[prost(message, optional, tag = "8")]
    pub responses: ::core::option::Option<Responses>,
    #[prost(message, optional, tag = "9")]
    pub callbacks: ::core::option::Option<CallbacksOrReferences>,
    #[prost(bool, tag = "10")]
    pub deprecated: bool,
    #[prost(message, repeated, tag = "11")]
    pub security: ::prost::alloc::vec::Vec<SecurityRequirement>,
    #[prost(message, repeated, tag = "12")]
    pub servers: ::prost::alloc::vec::Vec<Server>,
    #[prost(message, repeated, tag = "13")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Describes a single operation parameter.  A unique parameter is defined by a combination of a name and location.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Parameter {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub r#in: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(bool, tag = "4")]
    pub required: bool,
    #[prost(bool, tag = "5")]
    pub deprecated: bool,
    #[prost(bool, tag = "6")]
    pub allow_empty_value: bool,
    #[prost(string, tag = "7")]
    pub style: ::prost::alloc::string::String,
    #[prost(bool, tag = "8")]
    pub explode: bool,
    #[prost(bool, tag = "9")]
    pub allow_reserved: bool,
    #[prost(message, optional, tag = "10")]
    pub schema: ::core::option::Option<SchemaOrReference>,
    #[prost(message, optional, tag = "11")]
    pub example: ::core::option::Option<Any>,
    #[prost(message, optional, tag = "12")]
    pub examples: ::core::option::Option<ExamplesOrReferences>,
    #[prost(message, optional, tag = "13")]
    pub content: ::core::option::Option<MediaTypes>,
    #[prost(message, repeated, tag = "14")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParameterOrReference {
    #[prost(oneof = "parameter_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<parameter_or_reference::Oneof>,
}
/// Nested message and enum types in `ParameterOrReference`.
pub mod parameter_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Parameter(super::Parameter),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParametersOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedParameterOrReference>,
}
/// Describes the operations available on a single path. A Path Item MAY be empty, due to ACL constraints. The path itself is still exposed to the documentation viewer but they will not know which operations and parameters are available.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathItem {
    #[prost(string, tag = "1")]
    pub r#ref: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub summary: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub get: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "5")]
    pub put: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "6")]
    pub post: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "7")]
    pub delete: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "8")]
    pub options: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "9")]
    pub head: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "10")]
    pub patch: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "11")]
    pub trace: ::core::option::Option<Operation>,
    #[prost(message, repeated, tag = "12")]
    pub servers: ::prost::alloc::vec::Vec<Server>,
    #[prost(message, repeated, tag = "13")]
    pub parameters: ::prost::alloc::vec::Vec<ParameterOrReference>,
    #[prost(message, repeated, tag = "14")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Holds the relative paths to the individual endpoints and their operations. The path is appended to the URL from the `Server Object` in order to construct the full URL.  The Paths MAY be empty, due to ACL constraints.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Paths {
    #[prost(message, repeated, tag = "1")]
    pub path: ::prost::alloc::vec::Vec<NamedPathItem>,
    #[prost(message, repeated, tag = "2")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Properties {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedSchemaOrReference>,
}
/// A simple object to allow referencing other components in the specification, internally and externally.  The Reference Object is defined by JSON Reference and follows the same structure, behavior and rules.   For this specification, reference resolution is accomplished as defined by the JSON Reference specification and not by the JSON Schema specification.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Reference {
    #[prost(string, tag = "1")]
    pub r#ref: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub summary: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestBodiesOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedRequestBodyOrReference>,
}
/// Describes a single request body.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestBody {
    #[prost(string, tag = "1")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub content: ::core::option::Option<MediaTypes>,
    #[prost(bool, tag = "3")]
    pub required: bool,
    #[prost(message, repeated, tag = "4")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct RequestBodyOrReference {
    #[prost(oneof = "request_body_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<request_body_or_reference::Oneof>,
}
/// Nested message and enum types in `RequestBodyOrReference`.
pub mod request_body_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        RequestBody(super::RequestBody),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
/// Describes a single response from an API Operation, including design-time, static  `links` to operations based on the response.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Response {
    #[prost(string, tag = "1")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub headers: ::core::option::Option<HeadersOrReferences>,
    #[prost(message, optional, tag = "3")]
    pub content: ::core::option::Option<MediaTypes>,
    #[prost(message, optional, tag = "4")]
    pub links: ::core::option::Option<LinksOrReferences>,
    #[prost(message, repeated, tag = "5")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponseOrReference {
    #[prost(oneof = "response_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<response_or_reference::Oneof>,
}
/// Nested message and enum types in `ResponseOrReference`.
pub mod response_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Response(super::Response),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
/// A container for the expected responses of an operation. The container maps a HTTP response code to the expected response.  The documentation is not necessarily expected to cover all possible HTTP response codes because they may not be known in advance. However, documentation is expected to cover a successful operation response and any known errors.  The `default` MAY be used as a default response object for all HTTP codes  that are not covered individually by the specification.  The `Responses Object` MUST contain at least one response code, and it  SHOULD be the response for a successful operation call.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Responses {
    #[prost(message, optional, tag = "1")]
    pub default: ::core::option::Option<ResponseOrReference>,
    #[prost(message, repeated, tag = "2")]
    pub response_or_reference: ::prost::alloc::vec::Vec<NamedResponseOrReference>,
    #[prost(message, repeated, tag = "3")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponsesOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedResponseOrReference>,
}
/// The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is an extended subset of the JSON Schema Specification Wright Draft 00.  For more information about the properties, see JSON Schema Core and JSON Schema Validation. Unless stated otherwise, the property definitions follow the JSON Schema.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Schema {
    #[prost(bool, tag = "1")]
    pub nullable: bool,
    #[prost(message, optional, tag = "2")]
    pub discriminator: ::core::option::Option<Discriminator>,
    #[prost(bool, tag = "3")]
    pub read_only: bool,
    #[prost(bool, tag = "4")]
    pub write_only: bool,
    #[prost(message, optional, tag = "5")]
    pub xml: ::core::option::Option<Xml>,
    #[prost(message, optional, tag = "6")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(message, optional, tag = "7")]
    pub example: ::core::option::Option<Any>,
    #[prost(bool, tag = "8")]
    pub deprecated: bool,
    #[prost(string, tag = "9")]
    pub title: ::prost::alloc::string::String,
    #[prost(double, tag = "10")]
    pub multiple_of: f64,
    #[prost(double, tag = "11")]
    pub maximum: f64,
    #[prost(bool, tag = "12")]
    pub exclusive_maximum: bool,
    #[prost(double, tag = "13")]
    pub minimum: f64,
    #[prost(bool, tag = "14")]
    pub exclusive_minimum: bool,
    #[prost(int64, tag = "15")]
    pub max_length: i64,
    #[prost(int64, tag = "16")]
    pub min_length: i64,
    #[prost(string, tag = "17")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(int64, tag = "18")]
    pub max_items: i64,
    #[prost(int64, tag = "19")]
    pub min_items: i64,
    #[prost(bool, tag = "20")]
    pub unique_items: bool,
    #[prost(int64, tag = "21")]
    pub max_properties: i64,
    #[prost(int64, tag = "22")]
    pub min_properties: i64,
    #[prost(string, repeated, tag = "23")]
    pub required: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "24")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(string, tag = "25")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "26")]
    pub all_of: ::prost::alloc::vec::Vec<SchemaOrReference>,
    #[prost(message, repeated, tag = "27")]
    pub one_of: ::prost::alloc::vec::Vec<SchemaOrReference>,
    #[prost(message, repeated, tag = "28")]
    pub any_of: ::prost::alloc::vec::Vec<SchemaOrReference>,
    #[prost(message, optional, boxed, tag = "29")]
    pub not: ::core::option::Option<::prost::alloc::boxed::Box<Schema>>,
    #[prost(message, optional, tag = "30")]
    pub items: ::core::option::Option<ItemsItem>,
    #[prost(message, optional, tag = "31")]
    pub properties: ::core::option::Option<Properties>,
    #[prost(message, optional, boxed, tag = "32")]
    pub additional_properties:
        ::core::option::Option<::prost::alloc::boxed::Box<AdditionalPropertiesItem>>,
    #[prost(message, optional, tag = "33")]
    pub default: ::core::option::Option<DefaultType>,
    #[prost(string, tag = "34")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "35")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "36")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SchemaOrReference {
    #[prost(oneof = "schema_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<schema_or_reference::Oneof>,
}
/// Nested message and enum types in `SchemaOrReference`.
pub mod schema_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Schema(::prost::alloc::boxed::Box<super::Schema>),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SchemasOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedSchemaOrReference>,
}
/// Lists the required security schemes to execute this operation. The name used for each property MUST correspond to a security scheme declared in the Security Schemes under the Components Object.  Security Requirement Objects that contain multiple schemes require that all schemes MUST be satisfied for a request to be authorized. This enables support for scenarios where multiple query parameters or HTTP headers are required to convey security information.  When a list of Security Requirement Objects is defined on the OpenAPI Object or Operation Object, only one of the Security Requirement Objects in the list needs to be satisfied to authorize the request.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityRequirement {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedStringArray>,
}
/// Defines a security scheme that can be used by the operations. Supported schemes are HTTP authentication, an API key (either as a header, a cookie parameter or as a query parameter), mutual TLS (use of a client certificate), OAuth2's common flows (implicit, password, application and access code) as defined in RFC6749, and OpenID Connect.   Please note that currently (2019) the implicit flow is about to be deprecated OAuth 2.0 Security Best Current Practice. Recommended for most use case is Authorization Code Grant flow with PKCE.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityScheme {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub r#in: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub scheme: ::prost::alloc::string::String,
    #[prost(string, tag = "6")]
    pub bearer_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "7")]
    pub flows: ::core::option::Option<OauthFlows>,
    #[prost(string, tag = "8")]
    pub open_id_connect_url: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "9")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecuritySchemeOrReference {
    #[prost(oneof = "security_scheme_or_reference::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<security_scheme_or_reference::Oneof>,
}
/// Nested message and enum types in `SecuritySchemeOrReference`.
pub mod security_scheme_or_reference {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        SecurityScheme(super::SecurityScheme),
        #[prost(message, tag = "2")]
        Reference(super::Reference),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecuritySchemesOrReferences {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedSecuritySchemeOrReference>,
}
/// An object representing a Server.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Server {
    #[prost(string, tag = "1")]
    pub url: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub variables: ::core::option::Option<ServerVariables>,
    #[prost(message, repeated, tag = "4")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// An object representing a Server Variable for server URL template substitution.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServerVariable {
    #[prost(string, repeated, tag = "1")]
    pub r#enum: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, tag = "2")]
    pub default: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "4")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ServerVariables {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedServerVariable>,
}
/// Any property starting with x- is valid.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SpecificationExtension {
    #[prost(oneof = "specification_extension::Oneof", tags = "1, 2, 3")]
    pub oneof: ::core::option::Option<specification_extension::Oneof>,
}
/// Nested message and enum types in `SpecificationExtension`.
pub mod specification_extension {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(double, tag = "1")]
        Number(f64),
        #[prost(bool, tag = "2")]
        Boolean(bool),
        #[prost(string, tag = "3")]
        String(::prost::alloc::string::String),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct StringArray {
    #[prost(string, repeated, tag = "1")]
    pub value: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Strings {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedString>,
}
/// Adds metadata to a single tag that is used by the Operation Object. It is not mandatory to have a Tag Object per tag defined in the Operation Object instances.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Tag {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(message, repeated, tag = "4")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// A metadata object that allows for more fine-tuned XML model definitions.  When using arrays, XML element names are *not* inferred (for singular/plural forms) and the `name` property SHOULD be used to add that information. See examples for expected behavior.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Xml {
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub namespace: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub prefix: ::prost::alloc::string::String,
    #[prost(bool, tag = "4")]
    pub attribute: bool,
    #[prost(bool, tag = "5")]
    pub wrapped: bool,
    #[prost(message, repeated, tag = "6")]
    pub specification_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
// @@protoc_insertion_point(module)