Spelling fixes (#7142)

This commit is contained in:
Ville Skyttä 2017-12-10 04:48:30 +02:00 committed by William Cheng
parent b4f707450a
commit 794bb07cf7
55 changed files with 218 additions and 216 deletions

View File

@ -133,7 +133,7 @@
<message key="ws.notPreceded" value="GenericWhitespace ''{0}'' is not preceded with whitespace."/> <message key="ws.notPreceded" value="GenericWhitespace ''{0}'' is not preceded with whitespace."/>
</module> </module>
<module name="Indentation"> <module name="Indentation">
<!-- Modified defaults for swagger-codegen (multipled Google by 2)--> <!-- Modified defaults for swagger-codegen (multiplied Google by 2)-->
<property name="basicOffset" value="4"/> <property name="basicOffset" value="4"/>
<property name="braceAdjustment" value="0"/> <property name="braceAdjustment" value="0"/>
<property name="caseIndent" value="4"/> <property name="caseIndent" value="4"/>

View File

@ -191,7 +191,7 @@ public class DefaultCodegen {
for (String name : allModels.keySet()) { for (String name : allModels.keySet()) {
CodegenModel cm = allModels.get(name); CodegenModel cm = allModels.get(name);
CodegenModel parent = allModels.get(cm.parent); CodegenModel parent = allModels.get(cm.parent);
// if a discriminator exists on the parent, don't add this child to the inheritance heirarchy // if a discriminator exists on the parent, don't add this child to the inheritance hierarchy
// TODO Determine what to do if the parent discriminator name == the grandparent discriminator name // TODO Determine what to do if the parent discriminator name == the grandparent discriminator name
while (parent != null) { while (parent != null) {
if (parent.children == null) { if (parent.children == null) {

View File

@ -339,7 +339,7 @@ public class SymfonyServerCodegen extends AbstractPhpCodegen implements CodegenC
// Loop through all input parameters to determine, whether we have to import something to // Loop through all input parameters to determine, whether we have to import something to
// make the input type available. // make the input type available.
for (CodegenParameter param : op.allParams) { for (CodegenParameter param : op.allParams) {
// Determine if the paramter type is supported as a type hint and make it available // Determine if the parameter type is supported as a type hint and make it available
// to the templating engine // to the templating engine
String typeHint = getTypeHint(param.dataType); String typeHint = getTypeHint(param.dataType);
if (!typeHint.isEmpty()) { if (!typeHint.isEmpty()) {
@ -397,7 +397,7 @@ public class SymfonyServerCodegen extends AbstractPhpCodegen implements CodegenC
// Simplify model var type // Simplify model var type
for (CodegenProperty var : model.vars) { for (CodegenProperty var : model.vars) {
if (var.datatype != null) { if (var.datatype != null) {
// Determine if the paramter type is supported as a type hint and make it available // Determine if the parameter type is supported as a type hint and make it available
// to the templating engine // to the templating engine
String typeHint = getTypeHint(var.datatype); String typeHint = getTypeHint(var.datatype);
if (!typeHint.isEmpty()) { if (!typeHint.isEmpty()) {

View File

@ -10,7 +10,7 @@ note
hobbies: LIST [STRING] hobbies: LIST [STRING]
photos: LIST [PHOTOS] photos: LIST [PHOTOS]
convertion: conversion:
First go to the feature from_json_to_`model' and then start to set First go to the feature from_json_to_`model' and then start to set
the object attibures as follow. the object attibures as follow.

View File

@ -50,7 +50,7 @@ public class Play24CallAdapterFactory extends CallAdapter.Factory {
} }
/** /**
* Adpater that coverts values returned by API interface into CompletionStage * Adapter that coverts values returned by API interface into CompletionStage
*/ */
private static final class ValueAdapter<R> implements CallAdapter<R, F.Promise<R>> { private static final class ValueAdapter<R> implements CallAdapter<R, F.Promise<R>> {

View File

@ -64,7 +64,7 @@ public class Play25CallAdapterFactory extends CallAdapter.Factory {
} }
/** /**
* Adpater that coverts values returned by API interface into CompletionStage * Adapter that coverts values returned by API interface into CompletionStage
*/ */
private static final class ValueAdapter<R> implements CallAdapter<R, CompletionStage<R>> { private static final class ValueAdapter<R> implements CallAdapter<R, CompletionStage<R>> {

View File

@ -39,7 +39,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -12,7 +12,7 @@ public class Application {
System.out.println("starting Micro Services"); System.out.println("starting Micro Services");
//Before you run service replace .deploy(new ()) with your actual service class like .deploy(new ApisAPI()) then it will start that service. //Before you run service replace .deploy(new ()) with your actual service class like .deploy(new ApisAPI()) then it will start that service.
//If you have multiple service classes add them in , seperated manner. //If you have multiple service classes add them in comma separated manner.
//Ex: .deploy(new PetApi()) //Ex: .deploy(new PetApi())
new MicroservicesRunner() new MicroservicesRunner()
.deploy(new PetApi()) .deploy(new PetApi())

View File

@ -92,16 +92,16 @@ fi
declare -a result_color_table=( "$WHITE" "$WHITE" "$GREEN" "$YELLOW" "$WHITE" "$MAGENTA" "$WHITE" ) declare -a result_color_table=( "$WHITE" "$WHITE" "$GREEN" "$YELLOW" "$WHITE" "$MAGENTA" "$WHITE" )
## ##
# This array stores the minimum number of required occurences for parameter # This array stores the minimum number of required occurrences for parameter
# 0 - optional # 0 - optional
# 1 - required # 1 - required
declare -A operation_parameters_minimum_occurences declare -A operation_parameters_minimum_occurrences
{{#apiInfo}} {{#apiInfo}}
{{#apis}} {{#apis}}
{{#operations}} {{#operations}}
{{#operation}} {{#operation}}
{{#allParams}} {{#allParams}}
operation_parameters_minimum_occurences["{{operationId}}:::{{baseName}}"]={{#required}}{{#vendorExtensions}}{{#x-codegen-collection-min-items}}{{x-codegen-collection-min-items}}{{/x-codegen-collection-min-items}}{{^x-codegen-collection-min-items}}1{{/x-codegen-collection-min-items}}{{/vendorExtensions}}{{^vendorExtensions}}1{{/vendorExtensions}}{{/required}}{{^required}}0{{/required}} operation_parameters_minimum_occurrences["{{operationId}}:::{{baseName}}"]={{#required}}{{#vendorExtensions}}{{#x-codegen-collection-min-items}}{{x-codegen-collection-min-items}}{{/x-codegen-collection-min-items}}{{^x-codegen-collection-min-items}}1{{/x-codegen-collection-min-items}}{{/vendorExtensions}}{{^vendorExtensions}}1{{/vendorExtensions}}{{/required}}{{^required}}0{{/required}}
{{/allParams}} {{/allParams}}
{{/operation}} {{/operation}}
{{/operations}} {{/operations}}
@ -109,18 +109,18 @@ operation_parameters_minimum_occurences["{{operationId}}:::{{baseName}}"]={{#req
{{/apiInfo}} {{/apiInfo}}
## ##
# This array stores the maximum number of allowed occurences for parameter # This array stores the maximum number of allowed occurrences for parameter
# 1 - single value # 1 - single value
# 2 - 2 values # 2 - 2 values
# N - N values # N - N values
# 0 - unlimited # 0 - unlimited
declare -A operation_parameters_maximum_occurences declare -A operation_parameters_maximum_occurrences
{{#apiInfo}} {{#apiInfo}}
{{#apis}} {{#apis}}
{{#operations}} {{#operations}}
{{#operation}} {{#operation}}
{{#allParams}} {{#allParams}}
operation_parameters_maximum_occurences["{{operationId}}:::{{baseName}}"]={{#vendorExtensions}}{{#x-codegen-collection-max-items}}{{x-codegen-collection-max-items}}{{/x-codegen-collection-max-items}}{{^x-codegen-collection-max-items}}0{{/x-codegen-collection-max-items}}{{/vendorExtensions}}{{^vendorExtensions}}0{{/vendorExtensions}} operation_parameters_maximum_occurrences["{{operationId}}:::{{baseName}}"]={{#vendorExtensions}}{{#x-codegen-collection-max-items}}{{x-codegen-collection-max-items}}{{/x-codegen-collection-max-items}}{{^x-codegen-collection-max-items}}0{{/x-codegen-collection-max-items}}{{/vendorExtensions}}{{^vendorExtensions}}0{{/vendorExtensions}}
{{/allParams}} {{/allParams}}
{{/operation}} {{/operation}}
{{/operations}} {{/operations}}
@ -326,7 +326,7 @@ header_arguments_to_curl() {
# Converts an associative array into a simple JSON with keys as top # Converts an associative array into a simple JSON with keys as top
# level object attributes # level object attributes
# #
# \todo Add convertion of more complex attributes using paths # \todo Add conversion of more complex attributes using paths
# #
############################################################################## ##############################################################################
body_parameters_to_json() { body_parameters_to_json() {
@ -376,7 +376,7 @@ build_request_path() {
# #
# Check input paramaters count against minimum and maximum required # Check input parameters count against minimum and maximum required
# #
if [[ "$force" = false ]]; then if [[ "$force" = false ]]; then
local was_error="" local was_error=""
@ -387,7 +387,7 @@ build_request_path() {
# #
# Check if the number of provided values is not less than minimum required # Check if the number of provided values is not less than minimum required
# #
if [[ ${#parameter_values[@]} -lt ${operation_parameters_minimum_occurences["${operation}:::${qparam}"]} ]]; then if [[ ${#parameter_values[@]} -lt ${operation_parameters_minimum_occurrences["${operation}:::${qparam}"]} ]]; then
echo "ERROR: Too few values provided for '${qparam}' parameter." echo "ERROR: Too few values provided for '${qparam}' parameter."
was_error=true was_error=true
fi fi
@ -395,8 +395,8 @@ build_request_path() {
# #
# Check if the number of provided values is not more than maximum # Check if the number of provided values is not more than maximum
# #
if [[ ${operation_parameters_maximum_occurences["${operation}:::${qparam}"]} -gt 0 \ if [[ ${operation_parameters_maximum_occurrences["${operation}:::${qparam}"]} -gt 0 \
&& ${#parameter_values[@]} -gt ${operation_parameters_maximum_occurences["${operation}:::${qparam}"]} ]]; then && ${#parameter_values[@]} -gt ${operation_parameters_maximum_occurrences["${operation}:::${qparam}"]} ]]; then
echo "ERROR: Too many values provided for '${qparam}' parameter" echo "ERROR: Too many values provided for '${qparam}' parameter"
was_error=true was_error=true
fi fi
@ -869,7 +869,7 @@ type column >/dev/null 2>&1 || { echo >&2 "ERROR: You do not have 'bsdmainutils'
# #
# Process command line # Process command line
# #
# Pass all arguemnts before 'operation' to cURL except the ones we override # Pass all arguments before 'operation' to cURL except the ones we override
# #
take_user=false take_user=false
take_host=false take_host=false

View File

@ -105,7 +105,7 @@ namespace {{packageName}}.Client
/// <value>An instance of the IReadableConfiguration.</value> /// <value>An instance of the IReadableConfiguration.</value>
/// <remarks> /// <remarks>
/// <see cref="IReadableConfiguration"/> helps us to avoid modifying possibly global /// <see cref="IReadableConfiguration"/> helps us to avoid modifying possibly global
/// configuration values from within a given client. It does not gaurantee thread-safety /// configuration values from within a given client. It does not guarantee thread-safety
/// of the <see cref="Configuration"/> instance in any way. /// of the <see cref="Configuration"/> instance in any way.
/// </remarks> /// </remarks>
public IReadableConfiguration Configuration { get; set; } public IReadableConfiguration Configuration { get; set; }

View File

@ -77,7 +77,7 @@ Example
r, err := client.Service.Operation(auth, args) r, err := client.Service.Operation(auth, args)
``` ```
Or via OAuth2 module to automaticly refresh tokens and perform user authentication. Or via OAuth2 module to automatically refresh tokens and perform user authentication.
``` ```
import "golang.org/x/oauth2" import "golang.org/x/oauth2"

View File

@ -183,7 +183,7 @@ func (c *APIClient) prepareRequest (
} }
} }
// add form paramters and file if available. // add form parameters and file if available.
if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") {
if body != nil { if body != nil {
return nil, errors.New("Cannot specify postBody and multipart form at the same time.") return nil, errors.New("Cannot specify postBody and multipart form at the same time.")
@ -223,7 +223,7 @@ func (c *APIClient) prepareRequest (
w.Close() w.Close()
} }
// Setup path and query paramters // Setup path and query parameters
url, err := url.Parse(path) url, err := url.Parse(path)
if err != nil { if err != nil {
return nil, err return nil, err

View File

@ -22,7 +22,7 @@ import GHC.Exts (IsString(..))
import qualified Katip as LG import qualified Katip as LG
-- * Type Aliases (for compatability) -- * Type Aliases (for compatibility)
-- | Runs a Katip logging block with the Log environment -- | Runs a Katip logging block with the Log environment
type LogExecWithContext = forall m. P.MonadIO m => type LogExecWithContext = forall m. P.MonadIO m =>

View File

@ -20,7 +20,7 @@ import Data.Text (Text)
import qualified Control.Monad.Logger as LG import qualified Control.Monad.Logger as LG
-- * Type Aliases (for compatability) -- * Type Aliases (for compatibility)
-- | Runs a monad-logger block with the filter predicate -- | Runs a monad-logger block with the filter predicate
type LogExecWithContext = forall m. P.MonadIO m => type LogExecWithContext = forall m. P.MonadIO m =>

View File

@ -126,7 +126,7 @@ describes additional constraints and actions on the _addFoo_ operation
via its typeclass instances. These typeclass instances can be viewed via its typeclass instances. These typeclass instances can be viewed
in GHCi or via the Haddocks. in GHCi or via the Haddocks.
* requried parameters are included as function arguments to _addFoo_ * required parameters are included as function arguments to _addFoo_
* optional non-body parameters are included by using `applyOptionalParam` * optional non-body parameters are included by using `applyOptionalParam`
* optional body parameters are set by using `setBodyParam` * optional body parameters are set by using `setBodyParam`

View File

@ -216,7 +216,7 @@ return /******/ (function(modules) { // webpackBootstrap
}); });
Object.defineProperty(JSONFormatter.prototype, "hasKey", { Object.defineProperty(JSONFormatter.prototype, "hasKey", {
/* /*
* did we recieve a key argument? * did we receive a key argument?
* This means that the formatter was called as a sub formatter of a parent formatter * This means that the formatter was called as a sub formatter of a parent formatter
*/ */
get: function () { get: function () {
@ -846,7 +846,7 @@ return /******/ (function(modules) { // webpackBootstrap
"use strict"; "use strict";
/* /*
* Escapes `"` charachters from string * Escapes `"` characters from string
*/ */
function escapeString(str) { function escapeString(str) {
return str.replace('"', '\"'); return str.replace('"', '\"');
@ -933,7 +933,7 @@ return /******/ (function(modules) { // webpackBootstrap
} }
exports.cssClass = cssClass; exports.cssClass = cssClass;
/* /*
* Creates a new DOM element wiht given type and class * Creates a new DOM element with given type and class
* TODO: move me to helpers * TODO: move me to helpers
*/ */
function createElement(type, className, content) { function createElement(type, className, content) {

File diff suppressed because one or more lines are too long

View File

@ -77,7 +77,7 @@ Example
r, err := client.Service.Operation(auth, args) r, err := client.Service.Operation(auth, args)
``` ```
Or via OAuth2 module to automaticly refresh tokens and perform user authentication. Or via OAuth2 module to automatically refresh tokens and perform user authentication.
``` ```
import "golang.org/x/oauth2" import "golang.org/x/oauth2"

View File

@ -183,7 +183,7 @@ func (c *APIClient) prepareRequest (
} }
} }
// add form paramters and file if available. // add form parameters and file if available.
if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") {
if body != nil { if body != nil {
return nil, errors.New("Cannot specify postBody and multipart form at the same time.") return nil, errors.New("Cannot specify postBody and multipart form at the same time.")
@ -223,7 +223,7 @@ func (c *APIClient) prepareRequest (
w.Close() w.Close()
} }
// Setup path and query paramters // Setup path and query parameters
url, err := url.Parse(path) url, err := url.Parse(path)
if err != nil { if err != nil {
return nil, err return nil, err

View File

@ -55,7 +55,7 @@ extern NSString *const {{classPrefix}}ResponseObjectErrorKey;
/** /**
* Updates header parameters and query parameters for authentication * Updates header parameters and query parameters for authentication
* *
* @param headers The header parameter will be udpated, passed by pointer to pointer. * @param headers The header parameter will be updated, passed by pointer to pointer.
* @param querys The query parameters will be updated, passed by pointer to pointer. * @param querys The query parameters will be updated, passed by pointer to pointer.
* @param authSettings The authentication names NSArray. * @param authSettings The authentication names NSArray.
*/ */

View File

@ -53,11 +53,11 @@ my %_apis = map { $_ =~ /^{{moduleName}}::(.*)$/; $1 => $_ }
create a new {{moduleName}}::ApiFactory instance with the given {{moduleName}}::ApiClient instance. create a new {{moduleName}}::ApiFactory instance with the given {{moduleName}}::ApiClient instance.
=head1 new(%paramters) =head1 new(%parameters)
Any parameters are optional, and are passed to and stored on the api_client object. Any parameters are optional, and are passed to and stored on the api_client object.
See L<{{moduleName}}::ApiClient> and L<{{moduleName}}::Configuration> for valid paramters See L<{{moduleName}}::ApiClient> and L<{{moduleName}}::Configuration> for valid parameters
=cut =cut

View File

@ -19,7 +19,7 @@ use constant VERSION => '{{moduleVersion}}';
{{moduleName}}::Configuration - holds the configuration for all {{moduleName}} Modules {{moduleName}}::Configuration - holds the configuration for all {{moduleName}} Modules
=head1 new(%paramters) =head1 new(%parameters)
=over 4 =over 4

View File

@ -77,7 +77,7 @@ Example
r, err := client.Service.Operation(auth, args) r, err := client.Service.Operation(auth, args)
``` ```
Or via OAuth2 module to automaticly refresh tokens and perform user authentication. Or via OAuth2 module to automatically refresh tokens and perform user authentication.
``` ```
import "golang.org/x/oauth2" import "golang.org/x/oauth2"

View File

@ -1957,7 +1957,7 @@ PREDEFINED =
EXPAND_AS_DEFINED = EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
# remove all refrences to function-like macros that are alone on a line, have an # remove all references to function-like macros that are alone on a line, have an
# all uppercase name, and do not end with a semicolon. Such function macros are # all uppercase name, and do not end with a semicolon. Such function macros are
# typically used for boiler-plate code, and will confuse the parser if not # typically used for boiler-plate code, and will confuse the parser if not
# removed. # removed.

View File

@ -124,7 +124,7 @@ static bool {{nickname}}Processor(MemoryStruct_s p_chunk, long code, char* error
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
{{#returnType}} handler(out, error, userData); {{#returnType}} handler(out, error, userData);
return false; return false;

View File

@ -50,7 +50,7 @@ paths:
type: string type: string
responses: responses:
'200': '200':
description: Operation *succeded* description: Operation *succeeded*
schema: schema:
$ref: '#/definitions/RandomNumber' $ref: '#/definitions/RandomNumber'
'404': '404':

View File

@ -197,7 +197,7 @@
"pet" "pet"
], ],
"summary":"Finds Pets by tags", "summary":"Finds Pets by tags",
"description":"Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.", "description":"Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.",
"operationId":"findPetsByTags", "operationId":"findPetsByTags",
"produces":[ "produces":[
"application/xml", "application/xml",

View File

@ -91,130 +91,132 @@ fi
declare -a result_color_table=( "$WHITE" "$WHITE" "$GREEN" "$YELLOW" "$WHITE" "$MAGENTA" "$WHITE" ) declare -a result_color_table=( "$WHITE" "$WHITE" "$GREEN" "$YELLOW" "$WHITE" "$MAGENTA" "$WHITE" )
## ##
# This array stores the minimum number of required occurences for parameter # This array stores the minimum number of required occurrences for parameter
# 0 - optional # 0 - optional
# 1 - required # 1 - required
declare -A operation_parameters_minimum_occurences declare -A operation_parameters_minimum_occurrences
operation_parameters_minimum_occurences["testSpecialTags:::body"]=1 operation_parameters_minimum_occurrences["testSpecialTags:::body"]=1
operation_parameters_minimum_occurences["fakeOuterBooleanSerialize:::body"]=0 operation_parameters_minimum_occurrences["fakeOuterBooleanSerialize:::body"]=0
operation_parameters_minimum_occurences["fakeOuterCompositeSerialize:::body"]=0 operation_parameters_minimum_occurrences["fakeOuterCompositeSerialize:::body"]=0
operation_parameters_minimum_occurences["fakeOuterNumberSerialize:::body"]=0 operation_parameters_minimum_occurrences["fakeOuterNumberSerialize:::body"]=0
operation_parameters_minimum_occurences["fakeOuterStringSerialize:::body"]=0 operation_parameters_minimum_occurrences["fakeOuterStringSerialize:::body"]=0
operation_parameters_minimum_occurences["testClientModel:::body"]=1 operation_parameters_minimum_occurrences["testClientModel:::body"]=1
operation_parameters_minimum_occurences["testEndpointParameters:::number"]=1 operation_parameters_minimum_occurrences["testEndpointParameters:::number"]=1
operation_parameters_minimum_occurences["testEndpointParameters:::double"]=1 operation_parameters_minimum_occurrences["testEndpointParameters:::double"]=1
operation_parameters_minimum_occurences["testEndpointParameters:::pattern_without_delimiter"]=1 operation_parameters_minimum_occurrences["testEndpointParameters:::pattern_without_delimiter"]=1
operation_parameters_minimum_occurences["testEndpointParameters:::byte"]=1 operation_parameters_minimum_occurrences["testEndpointParameters:::byte"]=1
operation_parameters_minimum_occurences["testEndpointParameters:::integer"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::integer"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::int32"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::int32"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::int64"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::int64"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::float"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::float"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::string"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::string"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::binary"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::binary"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::date"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::date"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::dateTime"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::dateTime"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::password"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::password"]=0
operation_parameters_minimum_occurences["testEndpointParameters:::callback"]=0 operation_parameters_minimum_occurrences["testEndpointParameters:::callback"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_form_string_array"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_form_string_array"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_form_string"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_form_string"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_header_string_array"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_header_string_array"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_header_string"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_header_string"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_query_string_array"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_query_string_array"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_query_string"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_query_string"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_query_integer"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_query_integer"]=0
operation_parameters_minimum_occurences["testEnumParameters:::enum_query_double"]=0 operation_parameters_minimum_occurrences["testEnumParameters:::enum_query_double"]=0
operation_parameters_minimum_occurences["testJsonFormData:::param"]=1 operation_parameters_minimum_occurrences["testInlineAdditionalProperties:::param"]=1
operation_parameters_minimum_occurences["testJsonFormData:::param2"]=1 operation_parameters_minimum_occurrences["testJsonFormData:::param"]=1
operation_parameters_minimum_occurences["testClassname:::body"]=1 operation_parameters_minimum_occurrences["testJsonFormData:::param2"]=1
operation_parameters_minimum_occurences["addPet:::body"]=1 operation_parameters_minimum_occurrences["testClassname:::body"]=1
operation_parameters_minimum_occurences["deletePet:::petId"]=1 operation_parameters_minimum_occurrences["addPet:::body"]=1
operation_parameters_minimum_occurences["deletePet:::api_key"]=0 operation_parameters_minimum_occurrences["deletePet:::petId"]=1
operation_parameters_minimum_occurences["findPetsByStatus:::status"]=1 operation_parameters_minimum_occurrences["deletePet:::api_key"]=0
operation_parameters_minimum_occurences["findPetsByTags:::tags"]=1 operation_parameters_minimum_occurrences["findPetsByStatus:::status"]=1
operation_parameters_minimum_occurences["getPetById:::petId"]=1 operation_parameters_minimum_occurrences["findPetsByTags:::tags"]=1
operation_parameters_minimum_occurences["updatePet:::body"]=1 operation_parameters_minimum_occurrences["getPetById:::petId"]=1
operation_parameters_minimum_occurences["updatePetWithForm:::petId"]=1 operation_parameters_minimum_occurrences["updatePet:::body"]=1
operation_parameters_minimum_occurences["updatePetWithForm:::name"]=0 operation_parameters_minimum_occurrences["updatePetWithForm:::petId"]=1
operation_parameters_minimum_occurences["updatePetWithForm:::status"]=0 operation_parameters_minimum_occurrences["updatePetWithForm:::name"]=0
operation_parameters_minimum_occurences["uploadFile:::petId"]=1 operation_parameters_minimum_occurrences["updatePetWithForm:::status"]=0
operation_parameters_minimum_occurences["uploadFile:::additionalMetadata"]=0 operation_parameters_minimum_occurrences["uploadFile:::petId"]=1
operation_parameters_minimum_occurences["uploadFile:::file"]=0 operation_parameters_minimum_occurrences["uploadFile:::additionalMetadata"]=0
operation_parameters_minimum_occurences["deleteOrder:::order_id"]=1 operation_parameters_minimum_occurrences["uploadFile:::file"]=0
operation_parameters_minimum_occurences["getOrderById:::order_id"]=1 operation_parameters_minimum_occurrences["deleteOrder:::order_id"]=1
operation_parameters_minimum_occurences["placeOrder:::body"]=1 operation_parameters_minimum_occurrences["getOrderById:::order_id"]=1
operation_parameters_minimum_occurences["createUser:::body"]=1 operation_parameters_minimum_occurrences["placeOrder:::body"]=1
operation_parameters_minimum_occurences["createUsersWithArrayInput:::body"]=1 operation_parameters_minimum_occurrences["createUser:::body"]=1
operation_parameters_minimum_occurences["createUsersWithListInput:::body"]=1 operation_parameters_minimum_occurrences["createUsersWithArrayInput:::body"]=1
operation_parameters_minimum_occurences["deleteUser:::username"]=1 operation_parameters_minimum_occurrences["createUsersWithListInput:::body"]=1
operation_parameters_minimum_occurences["getUserByName:::username"]=1 operation_parameters_minimum_occurrences["deleteUser:::username"]=1
operation_parameters_minimum_occurences["loginUser:::username"]=1 operation_parameters_minimum_occurrences["getUserByName:::username"]=1
operation_parameters_minimum_occurences["loginUser:::password"]=1 operation_parameters_minimum_occurrences["loginUser:::username"]=1
operation_parameters_minimum_occurences["updateUser:::username"]=1 operation_parameters_minimum_occurrences["loginUser:::password"]=1
operation_parameters_minimum_occurences["updateUser:::body"]=1 operation_parameters_minimum_occurrences["updateUser:::username"]=1
operation_parameters_minimum_occurrences["updateUser:::body"]=1
## ##
# This array stores the maximum number of allowed occurences for parameter # This array stores the maximum number of allowed occurrences for parameter
# 1 - single value # 1 - single value
# 2 - 2 values # 2 - 2 values
# N - N values # N - N values
# 0 - unlimited # 0 - unlimited
declare -A operation_parameters_maximum_occurences declare -A operation_parameters_maximum_occurrences
operation_parameters_maximum_occurences["testSpecialTags:::body"]=0 operation_parameters_maximum_occurrences["testSpecialTags:::body"]=0
operation_parameters_maximum_occurences["fakeOuterBooleanSerialize:::body"]=0 operation_parameters_maximum_occurrences["fakeOuterBooleanSerialize:::body"]=0
operation_parameters_maximum_occurences["fakeOuterCompositeSerialize:::body"]=0 operation_parameters_maximum_occurrences["fakeOuterCompositeSerialize:::body"]=0
operation_parameters_maximum_occurences["fakeOuterNumberSerialize:::body"]=0 operation_parameters_maximum_occurrences["fakeOuterNumberSerialize:::body"]=0
operation_parameters_maximum_occurences["fakeOuterStringSerialize:::body"]=0 operation_parameters_maximum_occurrences["fakeOuterStringSerialize:::body"]=0
operation_parameters_maximum_occurences["testClientModel:::body"]=0 operation_parameters_maximum_occurrences["testClientModel:::body"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::number"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::number"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::double"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::double"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::pattern_without_delimiter"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::pattern_without_delimiter"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::byte"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::byte"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::integer"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::integer"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::int32"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::int32"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::int64"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::int64"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::float"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::float"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::string"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::string"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::binary"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::binary"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::date"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::date"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::dateTime"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::dateTime"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::password"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::password"]=0
operation_parameters_maximum_occurences["testEndpointParameters:::callback"]=0 operation_parameters_maximum_occurrences["testEndpointParameters:::callback"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_form_string_array"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_form_string_array"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_form_string"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_form_string"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_header_string_array"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_header_string_array"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_header_string"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_header_string"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_query_string_array"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_query_string_array"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_query_string"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_query_string"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_query_integer"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_query_integer"]=0
operation_parameters_maximum_occurences["testEnumParameters:::enum_query_double"]=0 operation_parameters_maximum_occurrences["testEnumParameters:::enum_query_double"]=0
operation_parameters_maximum_occurences["testJsonFormData:::param"]=0 operation_parameters_maximum_occurrences["testInlineAdditionalProperties:::param"]=0
operation_parameters_maximum_occurences["testJsonFormData:::param2"]=0 operation_parameters_maximum_occurrences["testJsonFormData:::param"]=0
operation_parameters_maximum_occurences["testClassname:::body"]=0 operation_parameters_maximum_occurrences["testJsonFormData:::param2"]=0
operation_parameters_maximum_occurences["addPet:::body"]=0 operation_parameters_maximum_occurrences["testClassname:::body"]=0
operation_parameters_maximum_occurences["deletePet:::petId"]=0 operation_parameters_maximum_occurrences["addPet:::body"]=0
operation_parameters_maximum_occurences["deletePet:::api_key"]=0 operation_parameters_maximum_occurrences["deletePet:::petId"]=0
operation_parameters_maximum_occurences["findPetsByStatus:::status"]=0 operation_parameters_maximum_occurrences["deletePet:::api_key"]=0
operation_parameters_maximum_occurences["findPetsByTags:::tags"]=0 operation_parameters_maximum_occurrences["findPetsByStatus:::status"]=0
operation_parameters_maximum_occurences["getPetById:::petId"]=0 operation_parameters_maximum_occurrences["findPetsByTags:::tags"]=0
operation_parameters_maximum_occurences["updatePet:::body"]=0 operation_parameters_maximum_occurrences["getPetById:::petId"]=0
operation_parameters_maximum_occurences["updatePetWithForm:::petId"]=0 operation_parameters_maximum_occurrences["updatePet:::body"]=0
operation_parameters_maximum_occurences["updatePetWithForm:::name"]=0 operation_parameters_maximum_occurrences["updatePetWithForm:::petId"]=0
operation_parameters_maximum_occurences["updatePetWithForm:::status"]=0 operation_parameters_maximum_occurrences["updatePetWithForm:::name"]=0
operation_parameters_maximum_occurences["uploadFile:::petId"]=0 operation_parameters_maximum_occurrences["updatePetWithForm:::status"]=0
operation_parameters_maximum_occurences["uploadFile:::additionalMetadata"]=0 operation_parameters_maximum_occurrences["uploadFile:::petId"]=0
operation_parameters_maximum_occurences["uploadFile:::file"]=0 operation_parameters_maximum_occurrences["uploadFile:::additionalMetadata"]=0
operation_parameters_maximum_occurences["deleteOrder:::order_id"]=0 operation_parameters_maximum_occurrences["uploadFile:::file"]=0
operation_parameters_maximum_occurences["getOrderById:::order_id"]=0 operation_parameters_maximum_occurrences["deleteOrder:::order_id"]=0
operation_parameters_maximum_occurences["placeOrder:::body"]=0 operation_parameters_maximum_occurrences["getOrderById:::order_id"]=0
operation_parameters_maximum_occurences["createUser:::body"]=0 operation_parameters_maximum_occurrences["placeOrder:::body"]=0
operation_parameters_maximum_occurences["createUsersWithArrayInput:::body"]=0 operation_parameters_maximum_occurrences["createUser:::body"]=0
operation_parameters_maximum_occurences["createUsersWithListInput:::body"]=0 operation_parameters_maximum_occurrences["createUsersWithArrayInput:::body"]=0
operation_parameters_maximum_occurences["deleteUser:::username"]=0 operation_parameters_maximum_occurrences["createUsersWithListInput:::body"]=0
operation_parameters_maximum_occurences["getUserByName:::username"]=0 operation_parameters_maximum_occurrences["deleteUser:::username"]=0
operation_parameters_maximum_occurences["loginUser:::username"]=0 operation_parameters_maximum_occurrences["getUserByName:::username"]=0
operation_parameters_maximum_occurences["loginUser:::password"]=0 operation_parameters_maximum_occurrences["loginUser:::username"]=0
operation_parameters_maximum_occurences["updateUser:::username"]=0 operation_parameters_maximum_occurrences["loginUser:::password"]=0
operation_parameters_maximum_occurences["updateUser:::body"]=0 operation_parameters_maximum_occurrences["updateUser:::username"]=0
operation_parameters_maximum_occurrences["updateUser:::body"]=0
## ##
# The type of collection for specifying multiple values for parameter: # The type of collection for specifying multiple values for parameter:
@ -428,7 +430,7 @@ header_arguments_to_curl() {
# Converts an associative array into a simple JSON with keys as top # Converts an associative array into a simple JSON with keys as top
# level object attributes # level object attributes
# #
# \todo Add convertion of more complex attributes using paths # \todo Add conversion of more complex attributes using paths
# #
############################################################################## ##############################################################################
body_parameters_to_json() { body_parameters_to_json() {
@ -478,7 +480,7 @@ build_request_path() {
# #
# Check input paramaters count against minimum and maximum required # Check input parameters count against minimum and maximum required
# #
if [[ "$force" = false ]]; then if [[ "$force" = false ]]; then
local was_error="" local was_error=""
@ -489,7 +491,7 @@ build_request_path() {
# #
# Check if the number of provided values is not less than minimum required # Check if the number of provided values is not less than minimum required
# #
if [[ ${#parameter_values[@]} -lt ${operation_parameters_minimum_occurences["${operation}:::${qparam}"]} ]]; then if [[ ${#parameter_values[@]} -lt ${operation_parameters_minimum_occurrences["${operation}:::${qparam}"]} ]]; then
echo "ERROR: Too few values provided for '${qparam}' parameter." echo "ERROR: Too few values provided for '${qparam}' parameter."
was_error=true was_error=true
fi fi
@ -497,8 +499,8 @@ build_request_path() {
# #
# Check if the number of provided values is not more than maximum # Check if the number of provided values is not more than maximum
# #
if [[ ${operation_parameters_maximum_occurences["${operation}:::${qparam}"]} -gt 0 \ if [[ ${operation_parameters_maximum_occurrences["${operation}:::${qparam}"]} -gt 0 \
&& ${#parameter_values[@]} -gt ${operation_parameters_maximum_occurences["${operation}:::${qparam}"]} ]]; then && ${#parameter_values[@]} -gt ${operation_parameters_maximum_occurrences["${operation}:::${qparam}"]} ]]; then
echo "ERROR: Too many values provided for '${qparam}' parameter" echo "ERROR: Too many values provided for '${qparam}' parameter"
was_error=true was_error=true
fi fi
@ -2994,7 +2996,7 @@ type column >/dev/null 2>&1 || { echo >&2 "ERROR: You do not have 'bsdmainutils'
# #
# Process command line # Process command line
# #
# Pass all arguemnts before 'operation' to cURL except the ones we override # Pass all arguments before 'operation' to cURL except the ones we override
# #
take_user=false take_user=false
take_host=false take_host=false

View File

@ -95,7 +95,7 @@ namespace IO.Swagger.Client
/// <value>An instance of the IReadableConfiguration.</value> /// <value>An instance of the IReadableConfiguration.</value>
/// <remarks> /// <remarks>
/// <see cref="IReadableConfiguration"/> helps us to avoid modifying possibly global /// <see cref="IReadableConfiguration"/> helps us to avoid modifying possibly global
/// configuration values from within a given client. It does not gaurantee thread-safety /// configuration values from within a given client. It does not guarantee thread-safety
/// of the <see cref="Configuration"/> instance in any way. /// of the <see cref="Configuration"/> instance in any way.
/// </remarks> /// </remarks>
public IReadableConfiguration Configuration { get; set; } public IReadableConfiguration Configuration { get; set; }

View File

@ -143,7 +143,7 @@ Example
r, err := client.Service.Operation(auth, args) r, err := client.Service.Operation(auth, args)
``` ```
Or via OAuth2 module to automaticly refresh tokens and perform user authentication. Or via OAuth2 module to automatically refresh tokens and perform user authentication.
``` ```
import "golang.org/x/oauth2" import "golang.org/x/oauth2"

View File

@ -190,7 +190,7 @@ func (c *APIClient) prepareRequest (
} }
} }
// add form paramters and file if available. // add form parameters and file if available.
if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") { if len(formParams) > 0 || (len(fileBytes) > 0 && fileName != "") {
if body != nil { if body != nil {
return nil, errors.New("Cannot specify postBody and multipart form at the same time.") return nil, errors.New("Cannot specify postBody and multipart form at the same time.")
@ -230,7 +230,7 @@ func (c *APIClient) prepareRequest (
w.Close() w.Close()
} }
// Setup path and query paramters // Setup path and query parameters
url, err := url.Parse(path) url, err := url.Parse(path)
if err != nil { if err != nil {
return nil, err return nil, err

View File

@ -126,7 +126,7 @@ describes additional constraints and actions on the _addFoo_ operation
via its typeclass instances. These typeclass instances can be viewed via its typeclass instances. These typeclass instances can be viewed
in GHCi or via the Haddocks. in GHCi or via the Haddocks.
* requried parameters are included as function arguments to _addFoo_ * required parameters are included as function arguments to _addFoo_
* optional non-body parameters are included by using `applyOptionalParam` * optional non-body parameters are included by using `applyOptionalParam`
* optional body parameters are set by using `setBodyParam` * optional body parameters are set by using `setBodyParam`

View File

@ -32,7 +32,7 @@ import GHC.Exts (IsString(..))
import qualified Katip as LG import qualified Katip as LG
-- * Type Aliases (for compatability) -- * Type Aliases (for compatibility)
-- | Runs a Katip logging block with the Log environment -- | Runs a Katip logging block with the Log environment
type LogExecWithContext = forall m. P.MonadIO m => type LogExecWithContext = forall m. P.MonadIO m =>

View File

@ -50,7 +50,7 @@ public class Play24CallAdapterFactory extends CallAdapter.Factory {
} }
/** /**
* Adpater that coverts values returned by API interface into CompletionStage * Adapter that coverts values returned by API interface into CompletionStage
*/ */
private static final class ValueAdapter<R> implements CallAdapter<R, F.Promise<R>> { private static final class ValueAdapter<R> implements CallAdapter<R, F.Promise<R>> {

View File

@ -64,7 +64,7 @@ public class Play25CallAdapterFactory extends CallAdapter.Factory {
} }
/** /**
* Adpater that coverts values returned by API interface into CompletionStage * Adapter that coverts values returned by API interface into CompletionStage
*/ */
private static final class ValueAdapter<R> implements CallAdapter<R, CompletionStage<R>> { private static final class ValueAdapter<R> implements CallAdapter<R, CompletionStage<R>> {

View File

@ -66,7 +66,7 @@ extern NSString *const SWGResponseObjectErrorKey;
/** /**
* Updates header parameters and query parameters for authentication * Updates header parameters and query parameters for authentication
* *
* @param headers The header parameter will be udpated, passed by pointer to pointer. * @param headers The header parameter will be updated, passed by pointer to pointer.
* @param querys The query parameters will be updated, passed by pointer to pointer. * @param querys The query parameters will be updated, passed by pointer to pointer.
* @param authSettings The authentication names NSArray. * @param authSettings The authentication names NSArray.
*/ */

View File

@ -66,11 +66,11 @@ my %_apis = map { $_ =~ /^WWW::SwaggerClient::(.*)$/; $1 => $_ }
create a new WWW::SwaggerClient::ApiFactory instance with the given WWW::SwaggerClient::ApiClient instance. create a new WWW::SwaggerClient::ApiFactory instance with the given WWW::SwaggerClient::ApiClient instance.
=head1 new(%paramters) =head1 new(%parameters)
Any parameters are optional, and are passed to and stored on the api_client object. Any parameters are optional, and are passed to and stored on the api_client object.
See L<WWW::SwaggerClient::ApiClient> and L<WWW::SwaggerClient::Configuration> for valid paramters See L<WWW::SwaggerClient::ApiClient> and L<WWW::SwaggerClient::Configuration> for valid parameters
=cut =cut

View File

@ -32,7 +32,7 @@ use constant VERSION => '1.0.0';
WWW::SwaggerClient::Configuration - holds the configuration for all WWW::SwaggerClient Modules WWW::SwaggerClient::Configuration - holds the configuration for all WWW::SwaggerClient Modules
=head1 new(%paramters) =head1 new(%parameters)
=over 4 =over 4

View File

@ -80,7 +80,7 @@ Example
r, err := client.Service.Operation(auth, args) r, err := client.Service.Operation(auth, args)
``` ```
Or via OAuth2 module to automaticly refresh tokens and perform user authentication. Or via OAuth2 module to automatically refresh tokens and perform user authentication.
``` ```
import "golang.org/x/oauth2" import "golang.org/x/oauth2"

View File

@ -36,7 +36,7 @@ git_remote=`git remote`
if [ "$git_remote" = "" ]; then # git remote not defined if [ "$git_remote" = "" ]; then # git remote not defined
if [ "$GIT_TOKEN" = "" ]; then if [ "$GIT_TOKEN" = "" ]; then
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git crediential in your environment." echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
else else
git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git

View File

@ -1957,7 +1957,7 @@ PREDEFINED =
EXPAND_AS_DEFINED = EXPAND_AS_DEFINED =
# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
# remove all refrences to function-like macros that are alone on a line, have an # remove all references to function-like macros that are alone on a line, have an
# all uppercase name, and do not end with a semicolon. Such function macros are # all uppercase name, and do not end with a semicolon. Such function macros are
# typically used for boiler-plate code, and will confuse the parser if not # typically used for boiler-plate code, and will confuse the parser if not
# removed. # removed.

View File

@ -74,7 +74,7 @@ static bool addPetProcessor(MemoryStruct_s p_chunk, long code, char* errormsg, v
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -212,7 +212,7 @@ static bool deletePetProcessor(MemoryStruct_s p_chunk, long code, char* errormsg
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -362,7 +362,7 @@ static bool findPetsByStatusProcessor(MemoryStruct_s p_chunk, long code, char* e
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -506,7 +506,7 @@ static bool findPetsByTagsProcessor(MemoryStruct_s p_chunk, long code, char* err
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -658,7 +658,7 @@ static bool getPetByIdProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -788,7 +788,7 @@ static bool updatePetProcessor(MemoryStruct_s p_chunk, long code, char* errormsg
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -926,7 +926,7 @@ static bool updatePetWithFormProcessor(MemoryStruct_s p_chunk, long code, char*
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -1078,7 +1078,7 @@ static bool uploadFileProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;

View File

@ -74,7 +74,7 @@ static bool deleteOrderProcessor(MemoryStruct_s p_chunk, long code, char* errorm
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -204,7 +204,7 @@ static bool getInventoryProcessor(MemoryStruct_s p_chunk, long code, char* error
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -350,7 +350,7 @@ static bool getOrderByIdProcessor(MemoryStruct_s p_chunk, long code, char* error
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -502,7 +502,7 @@ static bool placeOrderProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;

View File

@ -74,7 +74,7 @@ static bool createUserProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -211,7 +211,7 @@ static bool createUsersWithArrayInputProcessor(MemoryStruct_s p_chunk, long code
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -360,7 +360,7 @@ static bool createUsersWithListInputProcessor(MemoryStruct_s p_chunk, long code,
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -509,7 +509,7 @@ static bool deleteUserProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -661,7 +661,7 @@ static bool getUserByNameProcessor(MemoryStruct_s p_chunk, long code, char* erro
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -808,7 +808,7 @@ static bool loginUserProcessor(MemoryStruct_s p_chunk, long code, char* errormsg
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(out, error, userData); handler(out, error, userData);
return false; return false;
@ -940,7 +940,7 @@ static bool logoutUserProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;
@ -1064,7 +1064,7 @@ static bool updateUserProcessor(MemoryStruct_s p_chunk, long code, char* errorms
} else if (p_chunk.memory != NULL) { } else if (p_chunk.memory != NULL) {
error = Error(code, string(p_chunk.memory)); error = Error(code, string(p_chunk.memory));
} else { } else {
error = Error(code, string("Unkown Error")); error = Error(code, string("Unknown Error"));
} }
handler(error, userData); handler(error, userData);
return false; return false;

View File

@ -249,7 +249,7 @@ font-style: italic;
<h3 class="field-label">Responses</h3> <h3 class="field-label">Responses</h3>
<h4 class="field-label">200</h4> <h4 class="field-label">200</h4>
Operation <em>succeded</em> Operation <em>succeeded</em>
<a href="#RandomNumber">RandomNumber</a> <a href="#RandomNumber">RandomNumber</a>
<h4 class="field-label">404</h4> <h4 class="field-label">404</h4>
Invalid or omitted <em>seed</em>. Seeds must be <strong>valid</strong> numbers. Invalid or omitted <em>seed</em>. Seeds must be <strong>valid</strong> numbers.

File diff suppressed because one or more lines are too long

View File

@ -12,7 +12,7 @@ public class Application {
System.out.println("starting Micro Services"); System.out.println("starting Micro Services");
//Before you run service replace .deploy(new ()) with your actual service class like .deploy(new ApisAPI()) then it will start that service. //Before you run service replace .deploy(new ()) with your actual service class like .deploy(new ApisAPI()) then it will start that service.
//If you have multiple service classes add them in , seperated manner. //If you have multiple service classes add them in comma separated manner.
//Ex: .deploy(new PetApi()) //Ex: .deploy(new PetApi())
new MicroservicesRunner() new MicroservicesRunner()
.deploy(new PetApi()) .deploy(new PetApi())

View File

@ -35,7 +35,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -35,7 +35,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -27,7 +27,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -34,7 +34,7 @@ useOutputBeanValidation=true
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -35,7 +35,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -35,7 +35,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -35,7 +35,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #

View File

@ -35,7 +35,7 @@ play.http.errorHandler="swagger.ErrorHandler"
# Play uses Akka internally and exposes Akka Streams and actors in Websockets and # Play uses Akka internally and exposes Akka Streams and actors in Websockets and
# other streaming HTTP responses. # other streaming HTTP responses.
akka { akka {
# "akka.log-config-on-start" is extraordinarly useful because it log the complete # "akka.log-config-on-start" is extraordinarily useful because it log the complete
# configuration at INFO level, including defaults and overrides, so it s worth # configuration at INFO level, including defaults and overrides, so it s worth
# putting at the very top. # putting at the very top.
# #