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
// @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")]
        Schema(::prost::alloc::boxed::Box<super::Schema>),
        #[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 ApiKeySecurity {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub r#in: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "5")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BasicAuthenticationSecurity {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "3")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct BodyParameter {
    /// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "1")]
    pub description: ::prost::alloc::string::String,
    /// The name of the parameter.
    #[prost(string, tag = "2")]
    pub name: ::prost::alloc::string::String,
    /// Determines the location of the parameter.
    #[prost(string, tag = "3")]
    pub r#in: ::prost::alloc::string::String,
    /// Determines whether or not this parameter is required or optional.
    #[prost(bool, tag = "4")]
    pub required: bool,
    #[prost(message, optional, tag = "5")]
    pub schema: ::core::option::Option<Schema>,
    #[prost(message, repeated, tag = "6")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Contact information for the owners of the API.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Contact {
    /// The identifying name of the contact person/organization.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// The URL pointing to the contact information.
    #[prost(string, tag = "2")]
    pub url: ::prost::alloc::string::String,
    /// The email address of the contact person/organization.
    #[prost(string, tag = "3")]
    pub email: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "4")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Default {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedAny>,
}
/// One or more JSON objects describing the schemas being consumed and produced by the API.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Definitions {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedSchema>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Document {
    /// The Swagger version of this document.
    #[prost(string, tag = "1")]
    pub swagger: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "2")]
    pub info: ::core::option::Option<Info>,
    /// The host (name or ip) of the API. Example: 'swagger.io'
    #[prost(string, tag = "3")]
    pub host: ::prost::alloc::string::String,
    /// The base path to the API. Example: '/api'.
    #[prost(string, tag = "4")]
    pub base_path: ::prost::alloc::string::String,
    /// The transfer protocol of the API.
    #[prost(string, repeated, tag = "5")]
    pub schemes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of MIME types accepted by the API.
    #[prost(string, repeated, tag = "6")]
    pub consumes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of MIME types the API can produce.
    #[prost(string, repeated, tag = "7")]
    pub produces: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, optional, tag = "8")]
    pub paths: ::core::option::Option<Paths>,
    #[prost(message, optional, tag = "9")]
    pub definitions: ::core::option::Option<Definitions>,
    #[prost(message, optional, tag = "10")]
    pub parameters: ::core::option::Option<ParameterDefinitions>,
    #[prost(message, optional, tag = "11")]
    pub responses: ::core::option::Option<ResponseDefinitions>,
    #[prost(message, repeated, tag = "12")]
    pub security: ::prost::alloc::vec::Vec<SecurityRequirement>,
    #[prost(message, optional, tag = "13")]
    pub security_definitions: ::core::option::Option<SecurityDefinitions>,
    #[prost(message, repeated, tag = "14")]
    pub tags: ::prost::alloc::vec::Vec<Tag>,
    #[prost(message, optional, tag = "15")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(message, repeated, tag = "16")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Examples {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedAny>,
}
/// information about external 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 vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// A deterministic version of a JSON Schema object.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FileSchema {
    #[prost(string, tag = "1")]
    pub format: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub title: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub default: ::core::option::Option<Any>,
    #[prost(string, repeated, tag = "5")]
    pub required: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(string, tag = "6")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(bool, tag = "7")]
    pub read_only: bool,
    #[prost(message, optional, tag = "8")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(message, optional, tag = "9")]
    pub example: ::core::option::Option<Any>,
    #[prost(message, repeated, tag = "10")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct FormDataParameterSubSchema {
    /// Determines whether or not this parameter is required or optional.
    #[prost(bool, tag = "1")]
    pub required: bool,
    /// Determines the location of the parameter.
    #[prost(string, tag = "2")]
    pub r#in: ::prost::alloc::string::String,
    /// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    /// The name of the parameter.
    #[prost(string, tag = "4")]
    pub name: ::prost::alloc::string::String,
    /// allows sending a parameter by name only or with an empty value.
    #[prost(bool, tag = "5")]
    pub allow_empty_value: bool,
    #[prost(string, tag = "6")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "7")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "8")]
    pub items: ::core::option::Option<PrimitivesItems>,
    #[prost(string, tag = "9")]
    pub collection_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "10")]
    pub default: ::core::option::Option<Any>,
    #[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(message, repeated, tag = "21")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(double, tag = "22")]
    pub multiple_of: f64,
    #[prost(message, repeated, tag = "23")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Header {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub items: ::core::option::Option<PrimitivesItems>,
    #[prost(string, tag = "4")]
    pub collection_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "5")]
    pub default: ::core::option::Option<Any>,
    #[prost(double, tag = "6")]
    pub maximum: f64,
    #[prost(bool, tag = "7")]
    pub exclusive_maximum: bool,
    #[prost(double, tag = "8")]
    pub minimum: f64,
    #[prost(bool, tag = "9")]
    pub exclusive_minimum: bool,
    #[prost(int64, tag = "10")]
    pub max_length: i64,
    #[prost(int64, tag = "11")]
    pub min_length: i64,
    #[prost(string, tag = "12")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(int64, tag = "13")]
    pub max_items: i64,
    #[prost(int64, tag = "14")]
    pub min_items: i64,
    #[prost(bool, tag = "15")]
    pub unique_items: bool,
    #[prost(message, repeated, tag = "16")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(double, tag = "17")]
    pub multiple_of: f64,
    #[prost(string, tag = "18")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "19")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct HeaderParameterSubSchema {
    /// Determines whether or not this parameter is required or optional.
    #[prost(bool, tag = "1")]
    pub required: bool,
    /// Determines the location of the parameter.
    #[prost(string, tag = "2")]
    pub r#in: ::prost::alloc::string::String,
    /// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    /// The name of the parameter.
    #[prost(string, tag = "4")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "6")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "7")]
    pub items: ::core::option::Option<PrimitivesItems>,
    #[prost(string, tag = "8")]
    pub collection_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "9")]
    pub default: ::core::option::Option<Any>,
    #[prost(double, tag = "10")]
    pub maximum: f64,
    #[prost(bool, tag = "11")]
    pub exclusive_maximum: bool,
    #[prost(double, tag = "12")]
    pub minimum: f64,
    #[prost(bool, tag = "13")]
    pub exclusive_minimum: bool,
    #[prost(int64, tag = "14")]
    pub max_length: i64,
    #[prost(int64, tag = "15")]
    pub min_length: i64,
    #[prost(string, tag = "16")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(int64, tag = "17")]
    pub max_items: i64,
    #[prost(int64, tag = "18")]
    pub min_items: i64,
    #[prost(bool, tag = "19")]
    pub unique_items: bool,
    #[prost(message, repeated, tag = "20")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(double, tag = "21")]
    pub multiple_of: f64,
    #[prost(message, repeated, tag = "22")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Headers {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedHeader>,
}
/// General information about the API.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Info {
    /// A unique and precise title of the API.
    #[prost(string, tag = "1")]
    pub title: ::prost::alloc::string::String,
    /// A semantic version number of the API.
    #[prost(string, tag = "2")]
    pub version: ::prost::alloc::string::String,
    /// A longer description of the API. Should be different from the title.  GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    /// The terms of service for the API.
    #[prost(string, tag = "4")]
    pub terms_of_service: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "5")]
    pub contact: ::core::option::Option<Contact>,
    #[prost(message, optional, tag = "6")]
    pub license: ::core::option::Option<License>,
    #[prost(message, repeated, tag = "7")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ItemsItem {
    #[prost(message, repeated, tag = "1")]
    pub schema: ::prost::alloc::vec::Vec<Schema>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct JsonReference {
    #[prost(string, tag = "1")]
    pub r#ref: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub description: ::prost::alloc::string::String,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct License {
    /// The name of the license type. It's encouraged to use an OSI compatible license.
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// The URL pointing to the license.
    #[prost(string, tag = "2")]
    pub url: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "3")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// 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 Header as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedHeader {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Header>,
}
/// Automatically-generated message used to represent maps of Parameter as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedParameter {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Parameter>,
}
/// 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 Response as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedResponse {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Response>,
}
/// Automatically-generated message used to represent maps of ResponseValue as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedResponseValue {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<ResponseValue>,
}
/// Automatically-generated message used to represent maps of Schema as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedSchema {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<Schema>,
}
/// Automatically-generated message used to represent maps of SecurityDefinitionsItem as ordered (name,value) pairs.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NamedSecurityDefinitionsItem {
    /// Map key
    #[prost(string, tag = "1")]
    pub name: ::prost::alloc::string::String,
    /// Mapped value
    #[prost(message, optional, tag = "2")]
    pub value: ::core::option::Option<SecurityDefinitionsItem>,
}
/// 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>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct NonBodyParameter {
    #[prost(oneof = "non_body_parameter::Oneof", tags = "1, 2, 3, 4")]
    pub oneof: ::core::option::Option<non_body_parameter::Oneof>,
}
/// Nested message and enum types in `NonBodyParameter`.
pub mod non_body_parameter {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        HeaderParameterSubSchema(super::HeaderParameterSubSchema),
        #[prost(message, tag = "2")]
        FormDataParameterSubSchema(super::FormDataParameterSubSchema),
        #[prost(message, tag = "3")]
        QueryParameterSubSchema(super::QueryParameterSubSchema),
        #[prost(message, tag = "4")]
        PathParameterSubSchema(super::PathParameterSubSchema),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Oauth2AccessCodeSecurity {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub flow: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub scopes: ::core::option::Option<Oauth2Scopes>,
    #[prost(string, tag = "4")]
    pub authorization_url: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub token_url: ::prost::alloc::string::String,
    #[prost(string, tag = "6")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "7")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Oauth2ApplicationSecurity {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub flow: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub scopes: ::core::option::Option<Oauth2Scopes>,
    #[prost(string, tag = "4")]
    pub token_url: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "6")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Oauth2ImplicitSecurity {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub flow: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub scopes: ::core::option::Option<Oauth2Scopes>,
    #[prost(string, tag = "4")]
    pub authorization_url: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "6")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Oauth2PasswordSecurity {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub flow: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "3")]
    pub scopes: ::core::option::Option<Oauth2Scopes>,
    #[prost(string, tag = "4")]
    pub token_url: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, repeated, tag = "6")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Oauth2Scopes {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedString>,
}
#[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>,
    /// A brief summary of the operation.
    #[prost(string, tag = "2")]
    pub summary: ::prost::alloc::string::String,
    /// A longer description of the operation, GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "4")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    /// A unique identifier of the operation.
    #[prost(string, tag = "5")]
    pub operation_id: ::prost::alloc::string::String,
    /// A list of MIME types the API can produce.
    #[prost(string, repeated, tag = "6")]
    pub produces: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// A list of MIME types the API can consume.
    #[prost(string, repeated, tag = "7")]
    pub consumes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    /// The parameters needed to send a valid API call.
    #[prost(message, repeated, tag = "8")]
    pub parameters: ::prost::alloc::vec::Vec<ParametersItem>,
    #[prost(message, optional, tag = "9")]
    pub responses: ::core::option::Option<Responses>,
    /// The transfer protocol of the API.
    #[prost(string, repeated, tag = "10")]
    pub schemes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(bool, tag = "11")]
    pub deprecated: bool,
    #[prost(message, repeated, tag = "12")]
    pub security: ::prost::alloc::vec::Vec<SecurityRequirement>,
    #[prost(message, repeated, tag = "13")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Parameter {
    #[prost(oneof = "parameter::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<parameter::Oneof>,
}
/// Nested message and enum types in `Parameter`.
pub mod parameter {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        BodyParameter(super::BodyParameter),
        #[prost(message, tag = "2")]
        NonBodyParameter(super::NonBodyParameter),
    }
}
/// One or more JSON representations for parameters
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParameterDefinitions {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedParameter>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ParametersItem {
    #[prost(oneof = "parameters_item::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<parameters_item::Oneof>,
}
/// Nested message and enum types in `ParametersItem`.
pub mod parameters_item {
    #[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")]
        JsonReference(super::JsonReference),
    }
}
#[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(message, optional, tag = "2")]
    pub get: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "3")]
    pub put: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "4")]
    pub post: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "5")]
    pub delete: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "6")]
    pub options: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "7")]
    pub head: ::core::option::Option<Operation>,
    #[prost(message, optional, tag = "8")]
    pub patch: ::core::option::Option<Operation>,
    /// The parameters needed to send a valid API call.
    #[prost(message, repeated, tag = "9")]
    pub parameters: ::prost::alloc::vec::Vec<ParametersItem>,
    #[prost(message, repeated, tag = "10")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PathParameterSubSchema {
    /// Determines whether or not this parameter is required or optional.
    #[prost(bool, tag = "1")]
    pub required: bool,
    /// Determines the location of the parameter.
    #[prost(string, tag = "2")]
    pub r#in: ::prost::alloc::string::String,
    /// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    /// The name of the parameter.
    #[prost(string, tag = "4")]
    pub name: ::prost::alloc::string::String,
    #[prost(string, tag = "5")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "6")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "7")]
    pub items: ::core::option::Option<PrimitivesItems>,
    #[prost(string, tag = "8")]
    pub collection_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "9")]
    pub default: ::core::option::Option<Any>,
    #[prost(double, tag = "10")]
    pub maximum: f64,
    #[prost(bool, tag = "11")]
    pub exclusive_maximum: bool,
    #[prost(double, tag = "12")]
    pub minimum: f64,
    #[prost(bool, tag = "13")]
    pub exclusive_minimum: bool,
    #[prost(int64, tag = "14")]
    pub max_length: i64,
    #[prost(int64, tag = "15")]
    pub min_length: i64,
    #[prost(string, tag = "16")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(int64, tag = "17")]
    pub max_items: i64,
    #[prost(int64, tag = "18")]
    pub min_items: i64,
    #[prost(bool, tag = "19")]
    pub unique_items: bool,
    #[prost(message, repeated, tag = "20")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(double, tag = "21")]
    pub multiple_of: f64,
    #[prost(message, repeated, tag = "22")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// Relative paths to the individual endpoints. They must be relative to the 'basePath'.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Paths {
    #[prost(message, repeated, tag = "1")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
    #[prost(message, repeated, tag = "2")]
    pub path: ::prost::alloc::vec::Vec<NamedPathItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct PrimitivesItems {
    #[prost(string, tag = "1")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, optional, boxed, tag = "3")]
    pub items: ::core::option::Option<::prost::alloc::boxed::Box<PrimitivesItems>>,
    #[prost(string, tag = "4")]
    pub collection_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "5")]
    pub default: ::core::option::Option<Any>,
    #[prost(double, tag = "6")]
    pub maximum: f64,
    #[prost(bool, tag = "7")]
    pub exclusive_maximum: bool,
    #[prost(double, tag = "8")]
    pub minimum: f64,
    #[prost(bool, tag = "9")]
    pub exclusive_minimum: bool,
    #[prost(int64, tag = "10")]
    pub max_length: i64,
    #[prost(int64, tag = "11")]
    pub min_length: i64,
    #[prost(string, tag = "12")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(int64, tag = "13")]
    pub max_items: i64,
    #[prost(int64, tag = "14")]
    pub min_items: i64,
    #[prost(bool, tag = "15")]
    pub unique_items: bool,
    #[prost(message, repeated, tag = "16")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(double, tag = "17")]
    pub multiple_of: f64,
    #[prost(message, repeated, tag = "18")]
    pub vendor_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<NamedSchema>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct QueryParameterSubSchema {
    /// Determines whether or not this parameter is required or optional.
    #[prost(bool, tag = "1")]
    pub required: bool,
    /// Determines the location of the parameter.
    #[prost(string, tag = "2")]
    pub r#in: ::prost::alloc::string::String,
    /// A brief description of the parameter. This could contain examples of use.  GitHub Flavored Markdown is allowed.
    #[prost(string, tag = "3")]
    pub description: ::prost::alloc::string::String,
    /// The name of the parameter.
    #[prost(string, tag = "4")]
    pub name: ::prost::alloc::string::String,
    /// allows sending a parameter by name only or with an empty value.
    #[prost(bool, tag = "5")]
    pub allow_empty_value: bool,
    #[prost(string, tag = "6")]
    pub r#type: ::prost::alloc::string::String,
    #[prost(string, tag = "7")]
    pub format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "8")]
    pub items: ::core::option::Option<PrimitivesItems>,
    #[prost(string, tag = "9")]
    pub collection_format: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "10")]
    pub default: ::core::option::Option<Any>,
    #[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(message, repeated, tag = "21")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(double, tag = "22")]
    pub multiple_of: f64,
    #[prost(message, repeated, tag = "23")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[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 schema: ::core::option::Option<SchemaItem>,
    #[prost(message, optional, tag = "3")]
    pub headers: ::core::option::Option<Headers>,
    #[prost(message, optional, tag = "4")]
    pub examples: ::core::option::Option<Examples>,
    #[prost(message, repeated, tag = "5")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// One or more JSON representations for responses
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponseDefinitions {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedResponse>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct ResponseValue {
    #[prost(oneof = "response_value::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<response_value::Oneof>,
}
/// Nested message and enum types in `ResponseValue`.
pub mod response_value {
    #[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")]
        JsonReference(super::JsonReference),
    }
}
/// Response objects names can either be any valid HTTP status code or 'default'.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Responses {
    #[prost(message, repeated, tag = "1")]
    pub response_code: ::prost::alloc::vec::Vec<NamedResponseValue>,
    #[prost(message, repeated, tag = "2")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
/// A deterministic version of a JSON Schema object.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Schema {
    #[prost(string, tag = "1")]
    pub r#ref: ::prost::alloc::string::String,
    #[prost(string, tag = "2")]
    pub format: ::prost::alloc::string::String,
    #[prost(string, tag = "3")]
    pub title: ::prost::alloc::string::String,
    #[prost(string, tag = "4")]
    pub description: ::prost::alloc::string::String,
    #[prost(message, optional, tag = "5")]
    pub default: ::core::option::Option<Any>,
    #[prost(double, tag = "6")]
    pub multiple_of: f64,
    #[prost(double, tag = "7")]
    pub maximum: f64,
    #[prost(bool, tag = "8")]
    pub exclusive_maximum: bool,
    #[prost(double, tag = "9")]
    pub minimum: f64,
    #[prost(bool, tag = "10")]
    pub exclusive_minimum: bool,
    #[prost(int64, tag = "11")]
    pub max_length: i64,
    #[prost(int64, tag = "12")]
    pub min_length: i64,
    #[prost(string, tag = "13")]
    pub pattern: ::prost::alloc::string::String,
    #[prost(int64, tag = "14")]
    pub max_items: i64,
    #[prost(int64, tag = "15")]
    pub min_items: i64,
    #[prost(bool, tag = "16")]
    pub unique_items: bool,
    #[prost(int64, tag = "17")]
    pub max_properties: i64,
    #[prost(int64, tag = "18")]
    pub min_properties: i64,
    #[prost(string, repeated, tag = "19")]
    pub required: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
    #[prost(message, repeated, tag = "20")]
    pub r#enum: ::prost::alloc::vec::Vec<Any>,
    #[prost(message, optional, boxed, tag = "21")]
    pub additional_properties:
        ::core::option::Option<::prost::alloc::boxed::Box<AdditionalPropertiesItem>>,
    #[prost(message, optional, tag = "22")]
    pub r#type: ::core::option::Option<TypeItem>,
    #[prost(message, optional, tag = "23")]
    pub items: ::core::option::Option<ItemsItem>,
    #[prost(message, repeated, tag = "24")]
    pub all_of: ::prost::alloc::vec::Vec<Schema>,
    #[prost(message, optional, tag = "25")]
    pub properties: ::core::option::Option<Properties>,
    #[prost(string, tag = "26")]
    pub discriminator: ::prost::alloc::string::String,
    #[prost(bool, tag = "27")]
    pub read_only: bool,
    #[prost(message, optional, tag = "28")]
    pub xml: ::core::option::Option<Xml>,
    #[prost(message, optional, tag = "29")]
    pub external_docs: ::core::option::Option<ExternalDocs>,
    #[prost(message, optional, tag = "30")]
    pub example: ::core::option::Option<Any>,
    #[prost(message, repeated, tag = "31")]
    pub vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SchemaItem {
    #[prost(oneof = "schema_item::Oneof", tags = "1, 2")]
    pub oneof: ::core::option::Option<schema_item::Oneof>,
}
/// Nested message and enum types in `SchemaItem`.
pub mod schema_item {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        Schema(super::Schema),
        #[prost(message, tag = "2")]
        FileSchema(super::FileSchema),
    }
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityDefinitions {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedSecurityDefinitionsItem>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SecurityDefinitionsItem {
    #[prost(oneof = "security_definitions_item::Oneof", tags = "1, 2, 3, 4, 5, 6")]
    pub oneof: ::core::option::Option<security_definitions_item::Oneof>,
}
/// Nested message and enum types in `SecurityDefinitionsItem`.
pub mod security_definitions_item {
    #[allow(clippy::derive_partial_eq_without_eq)]
    #[derive(Clone, PartialEq, ::prost::Oneof)]
    pub enum Oneof {
        #[prost(message, tag = "1")]
        BasicAuthenticationSecurity(super::BasicAuthenticationSecurity),
        #[prost(message, tag = "2")]
        ApiKeySecurity(super::ApiKeySecurity),
        #[prost(message, tag = "3")]
        Oauth2ImplicitSecurity(super::Oauth2ImplicitSecurity),
        #[prost(message, tag = "4")]
        Oauth2PasswordSecurity(super::Oauth2PasswordSecurity),
        #[prost(message, tag = "5")]
        Oauth2ApplicationSecurity(super::Oauth2ApplicationSecurity),
        #[prost(message, tag = "6")]
        Oauth2AccessCodeSecurity(super::Oauth2AccessCodeSecurity),
    }
}
#[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>,
}
#[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 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 vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct TypeItem {
    #[prost(string, repeated, tag = "1")]
    pub value: ::prost::alloc::vec::Vec<::prost::alloc::string::String>,
}
/// Any property starting with x- is valid.
#[allow(clippy::derive_partial_eq_without_eq)]
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct VendorExtension {
    #[prost(message, repeated, tag = "1")]
    pub additional_properties: ::prost::alloc::vec::Vec<NamedAny>,
}
#[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 vendor_extension: ::prost::alloc::vec::Vec<NamedAny>,
}
// @@protoc_insertion_point(module)